login
Header Space

 
 

Re: Signed git-tag doesn't find default key

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: <git@...>
Date: Friday, October 20, 2006 - 3:21 pm

On Friday 2006, October 20 17:32, Linus Torvalds wrote:


Yeah, obviously that's one way; and while it doesn't really matter to me, i=
t=20
seems poor form that git doesn't work with gpg as it is.  While one could o=
f=20
course use the "-u" switch, if that is the answer, then why bother with=20
having the "-s" switch at all?


I've actually settled on:

: ${username:=3D$(expr "z$tagger" : 'z.*<\(.*\)>')}

In git-tag.sh.


I think it's doing the right thing unfortunately.  If you search on any part
 "Andy Parkins"
 "<andyparkins@gmail.com>"
 "andyparkins@gmail.com"
 "andyparkins"
It finds it fine; the only thing it doesn't find is
 "Andy Parkins <andyparkins@gmail.com>"
Which I suppose is fair enough, as it's a fairly specific format to be=20
searching for.

I'm going to advocate my change of only searching on the email address for=
=20
finding the key - there shouldn't be two keys with the same email address=20
anyway, so there shouldn't be a danger of ambiguity of key.  Also, it deals=
=20
with the case when someone has entered a different name in git and in their=
=20
gpg UID.  For example, I would think it shouldn't be a problem that I like =
to=20
be called "Andy" on the git list, and yet want my key to say "A. D.=20
Parkins", "Andrew Parkins" or "Sparky McFly".=20

Now, I think I've written my name far, far too many times in this email.


Sparky McFly
=2D-=20
Dr Andrew Parkins, M Eng (Hons), AMIEE
andyparkins@gmail.com
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Signed git-tag doesn't find default key, Andy Parkins, (Fri Oct 20, 5:04 am)
Re: Signed git-tag doesn't find default key, Linus Torvalds, (Fri Oct 20, 12:32 pm)
Re: Signed git-tag doesn't find default key, Andy Parkins, (Fri Oct 20, 3:21 pm)
Re: Signed git-tag doesn't find default key , Horst H. von Brand, (Fri Oct 20, 8:52 pm)
Re: Signed git-tag doesn't find default key, Andy Parkins, (Sat Oct 21, 3:44 am)
speck-geostationary