author | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Oct 2005 04:40:51 +0000 (21:40 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 4 Oct 2005 01:50:06 +0000 (18:50 -0700) | ||
commit | 0bc458902020b705fa913ca340aa40fea0f87096 | |
tree | 52c945002cbd00b8fa72792ee4cd1c94d862abf7 | tree | snapshot |
parent | 619e5a0ed4a53653085961b7aefe1f93ed879949 | commit | diff |
Make sure get_sha1 does not accept ambiguous sha1 prefix (again).
The earlier fix incorrectly dropped the code the original had to
ensure the found SHA1 is at least unique within the same pack.
Restore the check.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The earlier fix incorrectly dropped the code the original had to
ensure the found SHA1 is at least unique within the same pack.
Restore the check.
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_name.c | diff | blob | history |