We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7e0098 + 650161a commit 9026cfcCopy full SHA for 9026cfc
t/t3404-rebase-interactive.sh
@@ -279,11 +279,18 @@ test_expect_success 'retain authorship' '
279
'
280
281
test_expect_success 'retain authorship w/ conflicts' '
282
+ oGIT_AUTHOR_NAME=$GIT_AUTHOR_NAME &&
283
+ test_when_finished "GIT_AUTHOR_NAME=\$oGIT_AUTHOR_NAME" &&
284
+
285
git reset --hard twerp &&
286
test_commit a conflict a conflict-a &&
287
- GIT_AUTHOR_NAME=AttributeMe \
288
289
+ GIT_AUTHOR_NAME=AttributeMe &&
290
+ export GIT_AUTHOR_NAME &&
291
test_commit b conflict b conflict-b &&
292
+ GIT_AUTHOR_NAME=$oGIT_AUTHOR_NAME &&
293
294
set_fake_editor &&
295
test_must_fail git rebase -i conflict-a &&
296
echo resolved >conflict &&
0 commit comments