[PATCH v2 0/2] git-cvsimport: support local timezone
- From
Chris Rorvick <chris@rorvick.com>
- Date
- Oct 13, 2012, 04:11 UTC
- Message-ID
- <cover.1350100320.git.chris@rorvick.com>
Changes to support local timezone offsets in imported commits. Modified documentation to clarify behavior of new -l option.
Also, I split the original patch into two because using localtime()/timelocal() does not affect current functionality, but makes for sane results if someone monkeys with the hardcoded TZ environment setting. Also, the problem solved by the second patch could also be addressed by simply removing the hardcoded TZ setting in favor of having the user specify in their environment. Both of these solutions build on the changes made in the first patch, though.
Chris Rorvick (2): git-cvsimport: use localtime for converting timestamps git-cvsimport: allow local timezone for commits
Documentation/git-cvsimport.txt | 13 ++++++++++--- git-cvsimport.perl | 13 +++++++------ 2 files changed, 17 insertions(+), 9 deletions(-)