summaryrefslogtreecommitdiff
path: root/csum-file.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-22 19:16:38 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-22 19:16:38 (GMT)
commit26125f6b9be8dac31f56bf3da60dfa0df6dc0b59 (patch)
tree1c7ae888daf8cc03e743e55008ea5ffa009704bb /csum-file.h
parentaa064743fa69e2806d5e0af1fab103baa6fa57cd (diff)
downloadgit-26125f6b9be8dac31f56bf3da60dfa0df6dc0b59.zip
git-26125f6b9be8dac31f56bf3da60dfa0df6dc0b59.tar.gz
git-26125f6b9be8dac31f56bf3da60dfa0df6dc0b59.tar.bz2
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 'csum-file.h')
0 files changed, 0 insertions, 0 deletions