diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-07-02 00:54:00 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-02 00:54:19 -0700 |
commit | b31272f704d03258a90b0e83e0f5c8df5c038ae6 (patch) | |
tree | b8c6a25923b5bc17522c1bf821a09c63f51e5c99 /Documentation/git-commit.txt | |
parent | Git 1.7.6.6 (diff) | |
download | tgif-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 'Documentation/git-commit.txt')
0 files changed, 0 insertions, 0 deletions