Code

Teach bash to complete ref arguments to git-describe
authorShawn O. Pearce <spearce@spearce.org>
Thu, 23 Aug 2007 05:42:11 +0000 (01:42 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 23 Aug 2007 05:42:11 +0000 (01:42 -0400)
commit217926c08cb634e3b5394ea15b3fe4520069260b
treefe14047db68f75b252443a9996b1ff0b112db35b
parent47e98eecf3721dca64e3d453fc96e3a02debe54f
Teach bash to complete ref arguments to git-describe

I'm often finding that I need to run git-describe on very long
remote tracking branch names, to find out what tagged revision
the remote tracking branch is now at (or not at).  Typing out
the ref names is painful, so bash completion on them is a very
useful feature.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
contrib/completion/git-completion.bash