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 e333175 + 650161a commit f44a744Copy full SHA for f44a744
t/t3404-rebase-interactive.sh
@@ -264,11 +264,18 @@ test_expect_success 'retain authorship' '
264
'
265
266
test_expect_success 'retain authorship w/ conflicts' '
267
+ oGIT_AUTHOR_NAME=$GIT_AUTHOR_NAME &&
268
+ test_when_finished "GIT_AUTHOR_NAME=\$oGIT_AUTHOR_NAME" &&
269
+
270
git reset --hard twerp &&
271
test_commit a conflict a conflict-a &&
272
- GIT_AUTHOR_NAME=AttributeMe \
273
274
+ GIT_AUTHOR_NAME=AttributeMe &&
275
+ export GIT_AUTHOR_NAME &&
276
test_commit b conflict b conflict-b &&
277
+ GIT_AUTHOR_NAME=$oGIT_AUTHOR_NAME &&
278
279
set_fake_editor &&
280
test_must_fail git rebase -i conflict-a &&
281
echo resolved >conflict &&
0 commit comments