author | Anders Kaseorg <andersk@MIT.EDU> | |
Wed, 19 Jan 2011 19:47:25 +0000 (14:47 -0500) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sun, 29 May 2011 04:46:16 +0000 (14:46 +1000) | ||
commit | f5974d97af06bca1382c585a515c8e1920333eb7 | |
tree | 456d6e402116459832c596ce9d2b11901eb352af | tree | snapshot |
parent | ef73896b2b596fe07e86829e26839f37e2d7513a | commit | diff |
gitk: Remember time zones from author and commit timestamps
When resolving a conflicted cherry-pick, this lets us pass
GIT_AUTHOR_DATE to git citool with the correct timezone.
It does this by making elements 2 and 4 of the commitinfo array
entries, which store the author and committer dates of the commit,
be 2-element lists storing the numerical date and timezone offset,
rather than just the numerical date.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Paul Mackerras <paulus@samba.org>
When resolving a conflicted cherry-pick, this lets us pass
GIT_AUTHOR_DATE to git citool with the correct timezone.
It does this by making elements 2 and 4 of the commitinfo array
entries, which store the author and committer dates of the commit,
be 2-element lists storing the numerical date and timezone offset,
rather than just the numerical date.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |