From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miklos Vajna Subject: [PATCH] Documentation/git svn log: add a note about timezones. Date: Wed, 27 Feb 2008 13:29:29 +0100 Message-ID: <20080227122929.GS31441@genesis.frugalware.org> References: <20080226124748.GH31792@mail.stoakes.net> <20080227073244.GB24316@soma> <20080227102631.GJ30300@mail.stoakes.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Johannes Schindelin , Tim Stoakes , Eric Wong , git@vger.kernel.org To: Junio C Hamano X-From: git-owner@vger.kernel.org Wed Feb 27 13:30:16 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JULQL-0002DW-MM for gcvg-git-2@gmane.org; Wed, 27 Feb 2008 13:30:14 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754418AbYB0M3g (ORCPT ); Wed, 27 Feb 2008 07:29:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753887AbYB0M3g (ORCPT ); Wed, 27 Feb 2008 07:29:36 -0500 Received: from virgo.iok.hu ([193.202.89.103]:15051 "EHLO virgo.iok.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753862AbYB0M3f (ORCPT ); Wed, 27 Feb 2008 07:29:35 -0500 Received: from kag.elte.hu (kag.elte.hu [157.181.177.1]) by virgo.iok.hu (Postfix) with ESMTP id A5B1F1B254B; Wed, 27 Feb 2008 13:29:31 +0100 (CET) Received: from genesis.frugalware.org (frugalware.elte.hu [157.181.177.34]) by kag.elte.hu (Postfix) with ESMTP id 9C3C244668; Wed, 27 Feb 2008 13:26:58 +0100 (CET) Received: by genesis.frugalware.org (Postfix, from userid 1000) id 28D9711904D7; Wed, 27 Feb 2008 13:29:29 +0100 (CET) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: git svn log mimics the timezone converting behaviour of svn log, but this was undocumented. Signed-off-by: Miklos Vajna --- On Wed, Feb 27, 2008 at 10:40:37AM +0000, Johannes Schindelin 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