]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t6000lib.sh
t6000lib: Fix permission
[git.git] / t / t6000lib.sh
old mode 100755 (executable)
new mode 100644 (file)
index c6752af..4f72a3d
@@ -1,3 +1,5 @@
+: included from 6002 and others
+
 [ -d .git/refs/tags ] || mkdir -p .git/refs/tags
 
 :> sed.script
@@ -69,7 +71,9 @@ on_committer_date()
 {
     _date=$1
     shift 1
-    GIT_COMMITTER_DATE=$_date "$@"
+    export GIT_COMMITTER_DATE="$_date"
+    "$@"
+    unset GIT_COMMITTER_DATE
 }
 
 # Execute a command and suppress any error output.