summaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-07-02 00:54:00 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-07-02 00:54:19 -0700
commitb31272f704d03258a90b0e83e0f5c8df5c038ae6 (patch)
treeb8c6a25923b5bc17522c1bf821a09c63f51e5c99 /git-gui
parentGit 1.7.6.6 (diff)
downloadtgif-b31272f704d03258a90b0e83e0f5c8df5c038ae6.tar.xz
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 'git-gui')
0 files changed, 0 insertions, 0 deletions