Re: [PATCH 0/2] fix "rebase -i --root" corrupting root commit
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jul 30, 2018, 10:06 UTC
- Message-ID
- <CAPig+cSYPEqapdQ=7zjW-RsM6XxCw2vPzZzV32uh_SgO4cQSog@mail.gmail.com>
- In-Reply-To
- <20180730092929.71114-1-sunshine@sunshineco.com>
On Mon, Jul 30, 2018 at 5:30 AM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 7 quoted lines
> This series fixes bugs causing corruption of the root commit when > "rebase -i --root" is used to swap in a new root commit. In particular, > the "author" header has trailing garbage. Some tools handle the > corruption somewhat gracefully by showing a bogus date, but others barf > on it (gitk, for instance). git-fsck correctly identifies the > corruption. I discovered this after git-rebase corrupted one of my own > projects.
Unfortunately, after sending this series, I see that there is additional corruption that needs to be addressed. In particular, the "author" header time is incorrectly prefixed with "@", so this series is going to need a re-roll to fix that, as well.