projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn: add support for Perl SVN::* libraries
[git.git]
/
t
/
t6000lib.sh
diff --git
a/t/t6000lib.sh
b/t/t6000lib.sh
index
01f796e
..
d402621
100755
(executable)
--- a/
t/t6000lib.sh
+++ b/
t/t6000lib.sh
@@
-51,7
+51,12
@@
as_author()
export GIT_AUTHOR_EMAIL="$_author"
"$@"
export GIT_AUTHOR_EMAIL="$_author"
"$@"
- export GIT_AUTHOR_EMAIL="$_save"
+ if test -z "$_save"
+ then
+ unset GIT_AUTHOR_EMAIL
+ else
+ export GIT_AUTHOR_EMAIL="$_save"
+ fi
}
commit_date()
}
commit_date()
@@
-64,7
+69,9
@@
on_committer_date()
{
_date=$1
shift 1
{
_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.
}
# Execute a command and suppress any error output.