Skip to content

Commit e41500a

Browse files
committed
Merge branch 'al/t3200-back-on-a-branch'
Test fix. * al/t3200-back-on-a-branch: t3200: clean side effect of git checkout --orphan
2 parents 711f5b3 + e6d5a11 commit e41500a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/t3200-branch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,6 +1287,7 @@ test_expect_success 'detect typo in branch name when using --edit-description' '
12871287
'
12881288

12891289
test_expect_success 'refuse --edit-description on unborn branch for now' '
1290+
test_when_finished "git checkout master" &&
12901291
write_script editor <<-\EOF &&
12911292
echo "New contents" >"$1"
12921293
EOF

0 commit comments

Comments
 (0)