git-subtree with log.date=relative
- From
- Bryan Jacobs <b@q3q.us>
- Date
- Jul 20, 2015, 00:03 UTC
- Message-ID
- <20150719200350.10ae4534@q3q.us>
Dear git Developers,
When setting log.date=relative in ~/.gitconfig, all "git subtree push" commands fail with errors like this:
git push using: ../../repos/second master fatal: invalid date format: 8 minutes ago Can't copy commit 10827bbf18aa17108e07039d9c125000889a4365
I believe git subtree is making a call to git log and relying on the dates in the output being machine-readable instead of human-readable. It should pass --date=default if it wants to ensure the default date format is used.
Bryan Jacobs