author | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Oct 2005 07:36:13 +0000 (00:36 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 3 Oct 2005 07:36:13 +0000 (00:36 -0700) | ||
commit | 5a82b4fb3e547c4aa14cd417790b3f925713a422 | |
tree | af98bb0616e70e5f1993af62f80c27458e22be8c | tree | snapshot |
parent | 88f8f0a52b2962452d89e854ad751283595473e4 | commit | diff |
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>
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>
sha1_name.c | diff | blob | history |