author | Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> | |
Tue, 14 Aug 2007 19:42:37 +0000 (16:42 -0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 15 Aug 2007 05:20:13 +0000 (22:20 -0700) | ||
commit | eef427a09ce7fcbdc54c73ae363cbab331eccd88 | |
tree | b222f393fdaeac70616efd80b7c1571d458fe7da | tree | snapshot |
parent | b798671fa935492ce511766bc99fb26b2892499b | commit | diff |
Avoid ambiguous error message if pack.idx header is wrong
Print the index version when an error occurs so the user
knows what type of header (and size) we thought the index
should have had.
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Print the index version when an error occurs so the user
knows what type of header (and size) we thought the index
should have had.
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c | diff | blob | history |