changeset 767:02a1254affc1 draft

fix from information leak of timezone in commits
author Nick <nick@somerandomnick.ano>
date Tue, 15 Nov 2011 20:16:05 +0000
parents 893cb7e997f9
children 9c7634e70edb
files git-commit
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/git-commit	Tue Nov 15 14:55:58 2011 -0500
+++ b/git-commit	Tue Nov 15 20:16:05 2011 +0000
@@ -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