Your message dated Fri, 20 Feb 2009 09:20:34 +0000
with message-id 
<20090220092034.12408.qm...@be70004d44afb5.315fe32.mid.smarden.org>
and subject line Re: Bug#508663: git-core: git log displays wrong date when 
used with --pretty option
has caused the Debian Bug report #508663,
regarding git-core: git log displays wrong date when used with --pretty option
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
508663: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508663
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-core
Version: 1:1.6.0.4-1
Severity: normal

When using git log with the --pretty option, it fails to display the correct
date. git fsck did not find anything corrupt in the repositry. The flaw stays
even after git gc --aggressive and git repack -a -d.

== Example
da...@apoll:~/scm/git/mimir$ git log -n 2 | grep Date
Date:   Sat Dec 13 20:39:07 2008 +0100
Date:   Thu Oct 9 00:52:32 2008 +0200
da...@apoll:~/scm/git/mimir$ git log --pretty=format:"%cD" -n 2
Sat, 13 Dec 2008 20:39:07 +0100
Tue, 9 Dec 2008 21:43:49 +0100
da...@apoll:~/scm/git/mimir$

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git-core depends on:
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.2-5          Multi-protocol file transfer libra
ii  libdigest-sha1-perl    2.11-2+b1         NIST SHA-1 message digest algorith
ii  liberror-perl          0.17-1            Perl module for error/exception ha
ii  libexpat1              2.0.1-4           XML parsing C library - runtime li
ii  perl-modules           5.10.0-18         Core Perl modules
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages git-core recommends:
ii  less                          418-1      Pager program similar to more
ii  openssh-client [ssh-client]   1:5.1p1-4  secure shell client, an rlogin/rsh
ii  patch                         2.5.9-5    Apply a diff file to an original
ii  rsync                         3.0.3-2    fast remote file copy program (lik

Versions of packages git-core suggests:
pn  git-arch                     <none>      (no description available)
ii  git-cvs                      1:1.6.0.4-1 fast, scalable, distributed revisi
pn  git-daemon-run               <none>      (no description available)
ii  git-doc                      1:1.5.6.5-1 fast, scalable, distributed revisi
ii  git-email                    1:1.6.0.4-1 fast, scalable, distributed revisi
pn  git-gui                      <none>      (no description available)
ii  git-svn                      1:1.6.0.4-1 fast, scalable, distributed revisi
pn  gitk                         <none>      (no description available)
pn  gitweb                       <none>      (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
On Sat, Dec 13, 2008 at 09:13:42PM +0100, David Triendl wrote:
> When using git log with the --pretty option, it fails to display the correct
> date. git fsck did not find anything corrupt in the repositry. The flaw stays
> even after git gc --aggressive and git repack -a -d.

Hi David, git associates two dates with one commit, the author date and
the committer date.

> == Example
> da...@apoll:~/scm/git/mimir$ git log -n 2 | grep Date
> Date:   Sat Dec 13 20:39:07 2008 +0100
> Date:   Thu Oct 9 00:52:32 2008 +0200

This is the author date, while

> da...@apoll:~/scm/git/mimir$ git log --pretty=format:"%cD" -n 2
> Sat, 13 Dec 2008 20:39:07 +0100
> Tue, 9 Dec 2008 21:43:49 +0100

this is the committer date.

If you run 'git log --pretty=format:"%aD" -n 2', the dates should be the
same.  See git-log(1), PRETTY FORMATS.

Regards, Gerrit.


--- End Message ---

Reply via email to