aboutsummaryrefslogtreecommitdiff
path: root/server-info.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-04 22:48:43 -0800
committerJunio C Hamano <junkio@cox.net>2005-12-04 23:19:31 -0800
commit1494e03888d084aa1da265f8534d235461b3fc91 (patch)
tree311f223bfde9688185f74410d70692898765a4d1 /server-info.c
parentb270c634b7d3dd197de6d155770fd7b044d76c5c (diff)
downloadgit-1494e03888d084aa1da265f8534d235461b3fc91.tar.gz
git-1494e03888d084aa1da265f8534d235461b3fc91.tar.xz
sha1_file.c: make sure packs in an alternate odb is named properly.
We somehow ended up registering packs in alternate object directories as "dir/object//pack/pack-*", which confusd the update-server-info code very badly. Also we did not attempt to detect a mistake of listing the object directory itself as one of the alternates. This does not lead to incorrect behaviour, but is simply wasteful, so try to do so when we are trivially able to. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'server-info.c')
0 files changed, 0 insertions, 0 deletions