diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-08-31 23:47:01 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-08-31 23:47:01 -0400 |
commit | 88e21dc7461dca1ebc70d8579bcc9246364511ee (patch) | |
tree | 36bb1aa535ccec8ff6503fcebf8a6aee9bb801c5 /compat/inet_pton.c | |
parent | Hopefully the final update to draft release notes for 1.5.3. (diff) | |
download | tgif-88e21dc7461dca1ebc70d8579bcc9246364511ee.tar.xz |
Teach bash about completing arguments for git-tag
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>
Diffstat (limited to 'compat/inet_pton.c')
0 files changed, 0 insertions, 0 deletions