Revision 88e21dc7461dca1ebc70d8579bcc9246364511ee authored by Shawn O. Pearce on 01 September 2007, 03:47:01 UTC, committed by Shawn O. Pearce on 01 September 2007, 03:47:01 UTC
Lately I have been doing a lot of calls to `git tag -d` and also to
`git tag -v`.  In both such cases being able to complete the names
of existing tags saves the fingers some typing effort.  We now look
for the -d or -v option to git-tag in the bash completion support
and offer up existing tag names as possible choices for these.

When creating a new tag we now also offer bash completion support
for the second argument to git-tag (the object to be tagged) as this
can often be a specific existing branch name and is not necessarily
the current HEAD.

If the -f option is being used to recreate an existing tag we now
also offer completion support on the existing tag names for the
first argument of git-tag, helping to the user to reselect the
prior tag name that they are trying to replace.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent e340d7d
History
File Mode Size
test
INSTALL -rw-r--r-- 7.9 KB
README -rw-r--r-- 3.1 KB
git-favicon.png -rw-r--r-- 164 bytes
git-logo.png -rw-r--r-- 208 bytes
gitweb.css -rw-r--r-- 7.0 KB
gitweb.perl -rwxr-xr-x 162.9 KB

README

back to top