aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.diff_--stat_initial..side
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-02-24 03:07:33 -0500
committerJunio C Hamano <gitster@pobox.com>2008-02-24 10:01:24 -0800
commit27c578885a0b8f56430c5a24f558e2b45cf04a38 (patch)
tree1602dd6217adb5ff9b138b6fb265d36acee3d305 /t/t4013/diff.diff_--stat_initial..side
parentTeach git-describe --exact-match to avoid expensive tag searches (diff)
downloadgit-27c578885a0b8f56430c5a24f558e2b45cf04a38.tar.gz
git-27c578885a0b8f56430c5a24f558e2b45cf04a38.zip
Use git-describe --exact-match in bash prompt on detached HEAD
Most of the time when I am on a detached HEAD and I am not doing a rebase or bisect operation the working directory is sitting on a tagged release of the repository. Showing the tag name instead of the commit SHA-1 is much more descriptive and a much better reminder of the state of this working directory. Now that git-describe --exact-match is available as a cheap means of obtaining the exact annotated tag or nothing at all, we can favor the annotated tag name over the abbreviated commit SHA-1. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_--stat_initial..side')
0 files changed, 0 insertions, 0 deletions