diff options
author | Linus Torvalds <torvalds@osdl.org> | 2005-10-06 14:10:39 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-06 14:23:29 -0700 |
commit | bc162e40ea6dc3208e3bda76301d6409607ed3ff (patch) | |
tree | 036b80c3359820af7334edbef28fa2ceca0c565f /git-applymbox.sh | |
parent | Do not require ls-remote to be run inside a git repository. (diff) | |
download | tgif-bc162e40ea6dc3208e3bda76301d6409607ed3ff.tar.xz |
Allow "-u" flag to tag signing
The current "git tag -s" thing always uses the tagger name as the signing
user key, which is very irritating, since my key is under my email
address, but the tagger key obviously contains the actual machine name
too.
Now, I could just use "GIT_COMMITTER_EMAIL" and force it to be my real
email, but I actually think that it's nice to see which machine I use for
my work.
So rather than force my tagger ID to have to match the gpg key name, just
support the "-u" flag to "git tag" instead. It implicitly enables signing,
since it doesn't make any sense without it. Thus:
git tag -u <gpg-key-name> <tag-name> [<tagged-object>]
will use the named gpg key for signing.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-applymbox.sh')
0 files changed, 0 insertions, 0 deletions