--pretty=format: fix broken %ct and %at interpolation
commit4621af371686f5c787c172c285562ad997281821
authorJeff King <peff@peff.net>
Tue, 27 Mar 2007 23:26:28 +0000 (27 19:26 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Mar 2007 00:04:26 +0000 (27 17:04 -0700)
tree4d60e511ec1fbbd509f1b6adeddbd46fc437cdea
parentc6e0caa3846f05831c1d4785ef373820c75eba2b
--pretty=format: fix broken %ct and %at interpolation

A pointer arithmetic error in fill_person caused random data
from the commit object to be included with the timestamp,
which looked something like:

    $ git-rev-list --pretty=format:%ct origin/next | head
    commit 98453bdb3db10db26099749bc4f2dc029bed9aa9
    1174977948 -0700

    Merge branch 'master' into next

    * master:
      Bisect: Use
    commit c0ce981f5ebfd02463ff697b2fca52c7a54b0625
    1174889646 -0700

Signed-off-by: Jeff King <peff@peff.net>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c