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

filter-branch --env-filter GIT_AUTHOR_DATE

From
TATuncer Ayaz <tuncer.ayaz@gmail.com>
Date
Jan 18, 2011, 16:43 UTC
Message-ID
<AANLkTinx7cs6YTvSTTv-njHA+vk264u1EaJettSdBF9U@mail.gmail.com>
To fix invalid timezone info in a repo I ran
git filter-branch --env-filter '
  GIT_AUTHOR_DATE=`echo ${GIT_AUTHOR_DATE}|sed s/+0000/-0800/`' HEAD

This fixed the invalid entries but the new timezone is -0700 instead of -0800. Is this expected?

git version 1.7.4.rc2
Next: Johannes Sixt
Message 1 of 6 in “filter-branch --env-filter GIT_AUTHOR_DATE”
  1. Tuncer AyazJan 18, 2011
  2. Johannes SixtJan 19, 2011
  3. Tuncer AyazJan 19, 2011
  4. Tuncer AyazJan 19, 2011
  5. Johannes SixtJan 19, 2011
  6. Tuncer AyazJan 19, 2011

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.