diff options
author | Jeff King <peff@peff.net> | 2012-11-04 07:25:36 -0500 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2012-11-04 08:02:41 -0500 |
commit | c2b3af0537e0b2c7624913b0f26191e992beb12c (patch) | |
tree | 668259ecf1719a81c6f18f6027fd711b0c2e42ce /Documentation/git-gc.txt | |
parent | git-cvsimport: allow author-specific timezones (diff) | |
download | tgif-c2b3af0537e0b2c7624913b0f26191e992beb12c.tar.xz |
cvsimport: work around perl tzset issue
On many platforms, the first invocation of localtime_r will
check $TZ in the environment, but subsequent invocations
will use a cached value. That means that setting $ENV{TZ} in
the middle of the program may or may not have an effect on
later calls to localtime. Perl 5.10.0 and later handles
this automatically for us, but we try to remain portable
back to 5.8. Work around it by calling tzset ourselves.
Diffstat (limited to 'Documentation/git-gc.txt')
0 files changed, 0 insertions, 0 deletions