@@ -111,29 +111,29 @@ EOF
111
111
# we don't test relative here
112
112
test_format author %an%n%ae%n%ad%n%aD%n%at << EOF
113
113
commit $head2
114
- A U Thor
115
-
114
+ $GIT_AUTHOR_NAME
115
+ $GIT_AUTHOR_EMAIL
116
116
Thu Apr 7 15:13:13 2005 -0700
117
117
Thu, 7 Apr 2005 15:13:13 -0700
118
118
1112911993
119
119
commit $head1
120
- A U Thor
121
-
120
+ $GIT_AUTHOR_NAME
121
+ $GIT_AUTHOR_EMAIL
122
122
Thu Apr 7 15:13:13 2005 -0700
123
123
Thu, 7 Apr 2005 15:13:13 -0700
124
124
1112911993
125
125
EOF
126
126
127
127
test_format committer %cn%n%ce%n%cd%n%cD%n%ct << EOF
128
128
commit $head2
129
- C O Mitter
130
-
129
+ $GIT_COMMITTER_NAME
130
+ $GIT_COMMITTER_EMAIL
131
131
Thu Apr 7 15:13:13 2005 -0700
132
132
Thu, 7 Apr 2005 15:13:13 -0700
133
133
1112911993
134
134
commit $head1
135
- C O Mitter
136
-
135
+ $GIT_COMMITTER_NAME
136
+ $GIT_COMMITTER_EMAIL
137
137
Thu Apr 7 15:13:13 2005 -0700
138
138
Thu, 7 Apr 2005 15:13:13 -0700
139
139
1112911993
@@ -410,7 +410,7 @@ test_expect_success 'empty email' '
410
410
test_tick &&
411
411
C=$(GIT_AUTHOR_EMAIL= git commit-tree HEAD^{tree} </dev/null) &&
412
412
A=$(git show --pretty=format:%an,%ae,%ad%n -s $C) &&
413
- verbose test "$A" = "A U Thor ,,Thu Apr 7 15:14:13 2005 -0700"
413
+ verbose test "$A" = "$GIT_AUTHOR_NAME ,,Thu Apr 7 15:14:13 2005 -0700"
414
414
'
415
415
416
416
test_expect_success ' del LF before empty (1)' '
@@ -495,7 +495,7 @@ test_expect_success '%gd shortens ref name' '
495
495
'
496
496
497
497
test_expect_success ' reflog identity' '
498
- echo "C O Mitter:[email protected] " >expect &&
498
+ echo "$GIT_COMMITTER_NAME:$GIT_COMMITTER_EMAIL " >expect &&
499
499
git log -g -1 --format="%gn:%ge" >actual &&
500
500
test_cmp expect actual
501
501
'
0 commit comments