Commit Diff


commit - 9ba0479c9a95dc336779534de660469d6f82ce31
commit + c3754a5ba7f662b92fd96c944a28356b487c73b5
blob - d9093b3371894b4a89fc9a496e26459e0e75f09f
blob + f1bd7e73347f1314f7f41339e642124838a06a88
--- regress/cmdline/commit.sh
+++ regress/cmdline/commit.sh
@@ -16,9 +16,6 @@
 
 . ./common.sh
 
-name=$(getent passwd $USER | cut -d: -f5)
-export GOT_AUTHOR="$name <$(whoami)@$(hostname)>"
-
 function test_commit_basic {
 	local testroot=`test_init commit_basic`
 
blob - a7e8448f37599141ef907df5d2159eaac83edf3e
blob + 0605ccf1393234f4429f6cf1184ad75e9eef7d17
--- regress/cmdline/common.sh
+++ regress/cmdline/common.sh
@@ -14,6 +14,9 @@
 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
+name=$(getent passwd $USER | cut -d: -f5)
+export GOT_AUTHOR="$name <$(whoami)@$(hostname)>"
+
 function git_init
 {
 	git init -q "$@"