summaryrefslogtreecommitdiff
path: root/unpack-file.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-10-03 07:36:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-03 07:36:13 (GMT)
commit5a82b4fb3e547c4aa14cd417790b3f925713a422 (patch)
treeaf98bb0616e70e5f1993af62f80c27458e22be8c /unpack-file.c
parent88f8f0a52b2962452d89e854ad751283595473e4 (diff)
downloadgit-5a82b4fb3e547c4aa14cd417790b3f925713a422.zip
git-5a82b4fb3e547c4aa14cd417790b3f925713a422.tar.gz
git-5a82b4fb3e547c4aa14cd417790b3f925713a422.tar.bz2
Error message from get_sha1() on ambiguous short SHA1.
Unlike cases where "no such object exists", the case where specified prefix is ambiguous would confuse the user if we say "no such commit" or such. Give an extra error message from the uniqueness check if there are more than one objects that match the given prefix. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'unpack-file.c')
0 files changed, 0 insertions, 0 deletions