Re: Git Rebase blows away GIT_AUTHOR_NAME
- From
Jeff King <peff@peff.net>
- Date
- Jan 13, 2011, 18:47 UTC
- Message-ID
- <20110113184739.GA7785@sigill.intra.peff.net>
- In-Reply-To
- <AANLkTimvK3p3M8kbGzLxyhchoFONiD4=FGPWxxs=i0GA@mail.gmail.com>
On Thu, Jan 13, 2011 at 10:00:45AM -0700, JT Olds wrote:
> I don't have git-sh-setup, which seems like it should be included in > the git-core package, but it's not. I have git-core > 1:1.7.1-1.1ubuntu0.1 installed. Obviously this precludes > get_author_ident_from_commit from working.
Oops, sorry about that. It ships in the /usr/lib/git-core directory these days (it _used_ to ship in /usr/bin, so "." would find it automatically). And when I did my test, I was using the git repository itself, so of course it was in my current directory then. :)
But it looks like you found it.
Show 8 quoted lines
> Author: jt@instructure.com > Email: jt@instructure.com > Subject: removing nondeterminism from test > Date: Tue, 11 Jan 2011 07:42:30 -0700 > > Should "Author" be my name? Could that be what's going on? I don't > even know where that gets set. The ones that I failed to notice that > they broke before I pushed them look like this:
Yep, it should be your name. So my next to suspect would be the git-mailinfo parser, and indeed, that's the thing that has the 3-character limit that Erik mentioned.
So that's definitely the problem.
-Peff