aboutsummaryrefslogtreecommitdiff
path: root/pack-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-22 11:16:38 -0800
committerJunio C Hamano <junkio@cox.net>2006-02-22 11:16:38 -0800
commit26125f6b9be8dac31f56bf3da60dfa0df6dc0b59 (patch)
tree1c7ae888daf8cc03e743e55008ea5ffa009704bb /pack-objects.c
parentaa064743fa69e2806d5e0af1fab103baa6fa57cd (diff)
downloadgit-26125f6b9be8dac31f56bf3da60dfa0df6dc0b59.tar.gz
git-26125f6b9be8dac31f56bf3da60dfa0df6dc0b59.tar.xz
detect broken alternates.
The real problem triggered an earlier fix was that an alternate entry was pointing at a removed directory. Complaining on object/pack directory that cannot be opendir-ed produces noise in an ancient repository that does not have object/pack directory and has never been packed. Detect the real user error and report it. Also if opendir failed for other reasons (e.g. no read permissions), report that as well. Spotted by Andrew Vasquez <andrew.vasquez@qlogic.com>. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'pack-objects.c')
0 files changed, 0 insertions, 0 deletions