1 files changed, 2 insertions(+), 3 deletions(-)
M commit-tree
M commit-tree => commit-tree +2 -3
@@ 33,9 33,8 @@ then
fi
GIT_COMMITTER_NAME=${GIT_COMMITTER_NAME:-$GIT_AUTHOR_NAME}
GIT_COMMITTER_EMAIL=${GIT_COMMITTER_EMAIL:-$GIT_AUTHOR_EMAIL}
-# XXX: GNUism
-GIT_AUTHOR_DATE=${GIT_AUTHOR_DATE:-$(date +'%s %z')}
-GIT_COMMITTER_DATE=${GIT_COMMITTER_DATE:-$(date +'%s %z')}
+GIT_AUTHOR_DATE=${GIT_AUTHOR_DATE:-$(date -u +'%s +0000')}
+GIT_COMMITTER_DATE=${GIT_COMMITTER_DATE:-$(date -u +'%s +0000')}
printf "tree %s\n" "$tree"
for parent in $parents