summaryrefslogtreecommitdiff
path: root/git-commit
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2011-11-15 20:16:05 +0000
committerNick <nick@somerandomnick.ano>2011-11-15 20:16:05 +0000
commit01e51f5b0819f8626f04334057e63e1e786dc643 (patch)
tree6fbb0ff21875e268daf5e2da4750f3a594745e51 /git-commit
parentc98ed7e3bf83e42274e4dc5854e05537ead130e1 (diff)
downloadresdb-01e51f5b0819f8626f04334057e63e1e786dc643.tar.gz
resdb-01e51f5b0819f8626f04334057e63e1e786dc643.zip
fix from information leak of timezone in commits
Diffstat (limited to 'git-commit')
-rwxr-xr-xgit-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-commit b/git-commit
index ab84adf..8299f42 100755
--- a/git-commit
+++ b/git-commit
@@ -1,4 +1,4 @@
#!/bin/sh
git add configure db doc git-commit gitd scripts contrib .gitignore
-git commit
+TZ=UTC git commit --date="`date -u +'%s'`"
test -x /usr/lib/git-core/git-update-server-info && /usr/lib/git-core/git-update-server-info