Re: Odd broken "--date=now" behavior in current git
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Apr 15, 2015, 16:20 UTC
- Message-ID
- <CA+55aFwbEnneEvUDhxGaWw=fSwY2WbtGy6Uc3aQzpiUY6GH1uQ@mail.gmail.com>
- In-Reply-To
- <20150415072223.GA1389@flurp.local>
On Wed, Apr 15, 2015 at 12:22 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
> > The fix seems to be simply:
Yup, that seems to do it for me. I'm not sure how we get to "match_digit()" with the time string "now", though.
So your patch fixes things for me, but I think:
- we should move the "tm.tm_isdst = -1;" up a bit and add a comment
- I'd like to know why it affected the author date but not the committer date, and how it got to match_digit() with that date string that didn't contain any digits.
I'd spend the time on this myself, but I'm in the middle of the kernel merge window, so..
Thanks,
Linus