diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-01 18:17:38 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-01 18:17:38 -0400 |
commit | 55f9bd8d5226eb49f5899c5ddca89c655ef96e9b (patch) | |
tree | 53096770e331f2d571fc9e49af5000cfed1fa0d8 /bin/gitthing | |
parent | e4109fab0bece003dc53c78c7cc8608b68328312 (diff) |
stuff
Diffstat (limited to 'bin/gitthing')
-rwxr-xr-x | bin/gitthing | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/gitthing b/bin/gitthing index a54c017..7bac2e2 100755 --- a/bin/gitthing +++ b/bin/gitthing @@ -62,7 +62,9 @@ main() { if [[ -n "$(git status -s .)" ]]; then gitdate="$(sed -r 's/(....)(..)(..)(..)(..)(..)/\1-\2-\3T\4:\5:\6/' <<<"$time")" git add . - GIT_AUTHOR_DATE=$gitdate GIT_AUTHOR_DATE=$gitdate git commit -m "$time $url" + export GIT_AUTHOR_DATE=$gitdate + export GIT_COMMITTER_DATE=$gitdate + git commit -m "$time $url" fi done } |