[OpenAFS-devel] Re: Error with first git push to gerrit

Phillip Moore w.phillip.moore@gmail.com
Tue, 5 Oct 2010 12:50:58 -0400


--0015175cdba00fdff30491e177ff
Content-Type: text/plain; charset=ISO-8859-1

That was a bone-headed mistake on my part.  I assumed I had changed my email
address in my git config ages ago, and of course, I hadn't.  Since I changed
if *after* making the commit, the wrong name was embedded, and gerrit did
not like this.

Then I followed some bad advice I found, and totally hosed my git repo, so I
just started over.

I've managed to submit this first patch now.   Now exactly an earth
shattering patch, but it feels good to finally make a contribution again
after about 8 years :-P

On Tue, Oct 5, 2010 at 11:24 AM, Andrew Deason <adeason@sinenomine.net>wrote:

> On Tue, 5 Oct 2010 10:22:52 -0400
> Phillip Moore <w.phillip.moore@gmail.com> wrote:
>
> > It's not at all clear to me how this email is used in gerrit, or what
> > I have to change to correct it.
>
> I imagine it compares the committer field to the email addresses you
> have configured associated with your ssh key. 'Settings' -> 'Contact
> Information' in gerrit is where email address stuff is.
>
> > How do I get around this?
>
> 'git commit --amend --reset-author' will set the author and committer to
> who you currently are, I think.
>
> --
> Andrew Deason
> adeason@sinenomine.net
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>

--0015175cdba00fdff30491e177ff
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div><br></div>That was a bone-headed mistake on my part. =A0I assumed I ha=
d changed my email address in my git config ages ago, and of course, I hadn=
&#39;t. =A0Since I changed if *after* making the commit, the wrong name was=
 embedded, and gerrit did not like this.=A0<div>
<br></div><div>Then I followed some bad advice I found, and totally hosed m=
y git repo, so I just started over.</div><div><br></div><div>I&#39;ve manag=
ed to submit this first patch now. =A0 Now exactly an earth shattering patc=
h, but it feels good to finally make a contribution again after about 8 yea=
rs :-P<br>
<div><br><div class=3D"gmail_quote">On Tue, Oct 5, 2010 at 11:24 AM, Andrew=
 Deason <span dir=3D"ltr">&lt;<a href=3D"mailto:adeason@sinenomine.net">ade=
ason@sinenomine.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;=
">
<div class=3D"im">On Tue, 5 Oct 2010 10:22:52 -0400<br>
Phillip Moore &lt;<a href=3D"mailto:w.phillip.moore@gmail.com">w.phillip.mo=
ore@gmail.com</a>&gt; wrote:<br>
<br>
&gt; It&#39;s not at all clear to me how this email is used in gerrit, or w=
hat<br>
&gt; I have to change to correct it.<br>
<br>
</div>I imagine it compares the committer field to the email addresses you<=
br>
have configured associated with your ssh key. &#39;Settings&#39; -&gt; &#39=
;Contact<br>
Information&#39; in gerrit is where email address stuff is.<br>
<div class=3D"im"><br>
&gt; How do I get around this?<br>
<br>
</div>&#39;git commit --amend --reset-author&#39; will set the author and c=
ommitter to<br>
who you currently are, I think.<br>
<font color=3D"#888888"><br>
--<br>
Andrew Deason<br>
<a href=3D"mailto:adeason@sinenomine.net">adeason@sinenomine.net</a><br>
<br>
_______________________________________________<br>
OpenAFS-devel mailing list<br>
<a href=3D"mailto:OpenAFS-devel@openafs.org">OpenAFS-devel@openafs.org</a><=
br>
<a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-devel" target=
=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-devel</a><br=
>
</font></blockquote></div><br></div></div>

--0015175cdba00fdff30491e177ff--