summaryrefslogtreecommitdiff
path: root/builtin/receive-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-02 07:54:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-07-02 07:54:19 (GMT)
commitb31272f704d03258a90b0e83e0f5c8df5c038ae6 (patch)
treeb8c6a25923b5bc17522c1bf821a09c63f51e5c99 /builtin/receive-pack.c
parentf174a2583c9f42315b60205890fa67a79a1f1669 (diff)
downloadgit-b31272f704d03258a90b0e83e0f5c8df5c038ae6.zip
git-b31272f704d03258a90b0e83e0f5c8df5c038ae6.tar.gz
git-b31272f704d03258a90b0e83e0f5c8df5c038ae6.tar.bz2
blame: compute abbreviation width that ensures uniqueness
Julia Lawall noticed that in linux-next repository the commit object 60d5c9f5 (shown with the default abbreviation width baked into "git blame") in output from $ git blame -L 3675,3675 60d5c9f5b -- \ drivers/staging/brcm80211/brcmfmac/wl_iw.c is no longer unique in the repository, which results in "short SHA1 60d5c9f5 is ambiguous". Compute the minimum abbreviation width that ensures uniqueness when the user did not specify the --abbrev option to avoid this. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/receive-pack.c')
0 files changed, 0 insertions, 0 deletions