git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-subtree with log.date=relative

From
BJBryan 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
Message 1 of 1 in “git-subtree with log.date=relative”
  1. Bryan JacobsJul 20, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.