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

Re: git-svn messing with timezones

From
TSTim Stoakes <tim@stoakes.net>
Date
Feb 27, 2008, 10:26 UTC
Message-ID
<20080227102631.GJ30300@mail.stoakes.net>
In-Reply-To
<20080227073244.GB24316@soma>
Eric Wong(normalperson@yhbt.net)@260208-23:32:
> The regular svn client converts the UTC time to the local time (or
> based on the TZ= environment).  Using "git svn log" should mimic the
> timezone behavior of the regular svn client.
Ah indeed, `git-svn log` does show the correct TZ. How annoying!

My workflow is to work with native git as much as possible, and interact with svn as little as is required. This means I have to remember to run one command to see sane logs of git commits that happen to also be svn commits, and another one for the normal git commits. There is no transparency here.

Thanks for clearing that up though Eric. Is it documented anywhere?
Tim
-- 
Tim Stoakes
Previous: Eric WongNext: Johannes Schindelin
Message 3 of 11 in “git-svn messing with timezones”
  1. Tim StoakesFeb 26, 2008
  2. Eric WongFeb 27, 2008
  3. Tim StoakesFeb 27, 2008
  4. Johannes SchindelinFeb 27, 2008
  5. Documentation/git svn log: add a note about timezones.Miklos Vajna, Feb 27, 2008
  6. Johannes SchindelinFeb 27, 2008
  7. Documentation/git svn log: add a note about timezones.Miklos Vajna, Feb 27, 2008
  8. Johannes SchindelinFeb 27, 2008
  9. Tim StoakesFeb 27, 2008
  10. Junio C HamanoFeb 27, 2008
  11. Seth FalconFeb 27, 2008

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.