summaryrefslogtreecommitdiff
path: root/clone-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-03 04:40:51 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-03 04:40:51 (GMT)
commit99a19b43021024e12ddb67831f8e5919f86a5979 (patch)
treed2dee021c90705a5a6f0f13593c6673469df7377 /clone-pack.c
parentc807f771947de65dceb22960d1a093d702f42105 (diff)
downloadgit-99a19b43021024e12ddb67831f8e5919f86a5979.zip
git-99a19b43021024e12ddb67831f8e5919f86a5979.tar.gz
git-99a19b43021024e12ddb67831f8e5919f86a5979.tar.bz2
Make sure get_sha1 does not accept ambiguous sha1 prefix.
The original code did not even check alternates, and was confused if an unpacked object was uniquely found when there was another object that shares the same prefix in the pack. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'clone-pack.c')
0 files changed, 0 insertions, 0 deletions