From: Miklos Vajna <vmiklos@frugalware.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Tim Stoakes <tim@stoakes.net>, Eric Wong <normalperson@yhbt.net>,
git@vger.kernel.org
Subject: [PATCH] Documentation/git svn log: add a note about timezones.
Date: Wed, 27 Feb 2008 13:29:29 +0100 [thread overview]
Message-ID: <20080227122929.GS31441@genesis.frugalware.org> (raw)
In-Reply-To: <alpine.LSU.1.00.0802271039220.22527@racer.site>
git svn log mimics the timezone converting behaviour of svn log, but this was
undocumented.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
On Wed, Feb 27, 2008 at 10:40:37AM +0000, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Note: if all you want is such a strange behaviour as svn's (I mean, why
> does it insist to show the dates as if they were done in _your_
> timezone?):
>
> git log --date=local
>
> > Is it documented anywhere?
>
> AFAICT it waits to be written. By you.
something like this?
Documentation/git-svn.txt | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index 340f1be..e1babf3 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -160,6 +160,10 @@ New features:
--
+
Any other arguments are passed directly to `git log'
++
+NOTE: SVN itself only stores times in UTC and nothing else. The regular svn
+client converts the UTC time to the local time (or based on the TZ=
+environment). This command has the same behaviour.
'blame'::
Show what revision and author last modified each line of a file. This is
--
1.5.4
next prev parent reply other threads:[~2008-02-27 12:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 12:47 git-svn messing with timezones Tim Stoakes
2008-02-27 7:32 ` Eric Wong
2008-02-27 10:26 ` Tim Stoakes
2008-02-27 10:40 ` Johannes Schindelin
2008-02-27 12:29 ` Miklos Vajna [this message]
2008-02-27 12:33 ` [PATCH] Documentation/git svn log: add a note about timezones Johannes Schindelin
2008-02-27 13:13 ` Miklos Vajna
2008-02-27 13:15 ` Johannes Schindelin
2008-02-27 23:09 ` git-svn messing with timezones Tim Stoakes
2008-02-27 23:23 ` Junio C Hamano
2008-02-27 16:21 ` Seth Falcon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080227122929.GS31441@genesis.frugalware.org \
--to=vmiklos@frugalware.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=normalperson@yhbt.net \
--cc=tim@stoakes.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).