Re: Weird behavior of 'git log --before' or 'git log --date-order': Commits from 2011 are treated to be before 1980
- From
Kristoffer Haugsbakk <code@khaugsbakk.name>
- Date
- Apr 27, 2023, 22:32 UTC
- Message-ID
- <95a158c9-6359-4da9-8302-d54a0fd9b2e4@app.fastmail.com>
- In-Reply-To
- <20230417074136.GB39931@coredump.intra.peff.net>
On Mon, Apr 17, 2023, at 09:41, Jeff King wrote:
> Ah, OK. Carry on, then. ;)
The result (see readme): https://github.com/LemmingAvalanche/libreoffice-repaired
The problem went away.
> But if you want to try, I suspect you could do it with > git-filter-repo's --commit-callback option.
I couldn’t use that. The metadata was too mangled and `git-filter-repo` just errored out. :P
But `git commit-tree` + `git replace` + `git filter-repo --force` worked.
-- Kristoffer Haugsbakk