aboutsummaryrefslogtreecommitdiff
path: root/t/t1100-commit-tree-options.sh
diff options
context:
space:
mode:
authorBrad Roberts <braddr@puremagic.com>2005-08-13 03:22:46 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-13 18:28:54 -0700
commite54c5ea93e0785dfd37fd9201797977a02ca0ddb (patch)
tree44b07cd9209b0d75d6c3a84e66608fc489be7cf3 /t/t1100-commit-tree-options.sh
parent31f584c242e7af28018ff920b6c8d1952beadbd4 (diff)
downloadgit-e54c5ea93e0785dfd37fd9201797977a02ca0ddb.tar.gz
git-e54c5ea93e0785dfd37fd9201797977a02ca0ddb.tar.xz
[PATCH] fix null TZ problems on os/x
It seems that the localtime() libc routine doesn't care for finding a TZ that's empty. It's ok with TZ not being set. Setting the TZ to GMT allowed these tests to pass. $ uname -v Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Signed-off-by: Brad Roberts <braddr@puremagic.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t1100-commit-tree-options.sh')
-rwxr-xr-xt/t1100-commit-tree-options.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1100-commit-tree-options.sh b/t/t1100-commit-tree-options.sh
index e59f724f2..19a0ed4d2 100755
--- a/t/t1100-commit-tree-options.sh
+++ b/t/t1100-commit-tree-options.sh
@@ -32,7 +32,7 @@ test_expect_success \
GIT_COMMITTER_NAME="Committer Name" \
GIT_COMMITTER_EMAIL="committer@email" \
GIT_COMMITTER_DATE="2005-05-26 23:30" \
- TZ= git-commit-tree `cat treeid` >commitid 2>/dev/null'
+ TZ=GMT git-commit-tree `cat treeid` >commitid 2>/dev/null'
test_expect_success \
'read commit' \