diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-22 11:16:38 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-22 11:16:38 -0800 |
commit | 26125f6b9be8dac31f56bf3da60dfa0df6dc0b59 (patch) | |
tree | 1c7ae888daf8cc03e743e55008ea5ffa009704bb /pack-objects.c | |
parent | git-push: Update documentation to describe the no-refspec behavior. (diff) | |
download | tgif-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