ALT Linux Bugzilla
– Attachment 1621 Details for
Bug 9982
gpg sometimes fails to find secret key for default user-id.
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
0001-gpg-sometimes-fails-to-find-secret-key-for-default-user-id.txt
0001-gpg-sometimes-fails-to-find-secret-key-for-default-user-id.txt (text/plain), 1.06 KB, created by
Sir Raorn
on 2006-09-12 11:53:35 MSD
(
hide
)
Description:
0001-gpg-sometimes-fails-to-find-secret-key-for-default-user-id.txt
Filename:
MIME Type:
Creator:
Sir Raorn
Created:
2006-09-12 11:53:35 MSD
Size:
1.06 KB
patch
obsolete
>From 8b5d4c5400431b6afd4a2b3b9d523cc5203ec207 Mon Sep 17 00:00:00 2001 >From: Sir Raorn <raorn@altlinux.ru> >Date: Tue, 12 Sep 2006 11:50:32 +0400 >Subject: [PATCH] gpg sometimes fails to find secret key for default user-id. > >git-tag passes -u "$GIT_COMMITER_NAME <$GIT_COMMITER_EMAIL>" to >gpg. gpg fails to find secret key if this string does not match >"GPG_NAME (GPG_COMMENT) <GPG_EMAIL>". Solution is to pass only >$GIT_COMMITER_EMAIL to -u option. > >Signed-off-by: Sir Raorn <raorn@altlinux.ru> >--- > git-tag.sh | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/git-tag.sh b/git-tag.sh >index a0afa25..603da13 100755 >--- a/git-tag.sh >+++ b/git-tag.sh >@@ -73,7 +73,7 @@ git-check-ref-format "tags/$name" || > object=$(git-rev-parse --verify --default HEAD "$@") || exit 1 > type=$(git-cat-file -t $object) || exit 1 > tagger=$(git-var GIT_COMMITTER_IDENT) || exit 1 >-: ${username:=$(expr "z$tagger" : 'z\(.*>\)')} >+: ${username:=$(expr "z$tagger" : 'z[^<]\+<\(.*\)>')} > > trap 'rm -f "$GIT_DIR"/TAG_TMP* "$GIT_DIR"/TAG_FINALMSG "$GIT_DIR"/TAG_EDITMSG' 0 > >-- >1.4.2.GIT >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9982
: 1621