File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ test_expect_success 'create completely different structure' '
70
70
merge -C H second
71
71
merge onebranch # Merge the topic branch ' \' ' onebranch' \' '
72
72
EOF
73
- cp script-from-scratch script-from-scratch-orig &&
74
73
test_config sequence.editor \""$PWD"/replace-editor.sh\" &&
75
74
test_tick &&
76
75
git rebase -i -r A &&
@@ -244,17 +243,17 @@ test_expect_success 'refuse to merge ancestors of HEAD' '
244
243
245
244
test_expect_success ' labels that are object IDs are rewritten' '
246
245
git checkout -b third B &&
247
- test_tick &&
248
246
test_commit I &&
249
247
third=$(git rev-parse HEAD) &&
250
248
git checkout -b labels master &&
251
249
git merge --no-commit third &&
252
250
test_tick &&
253
251
git commit -m "Merge commit ' \' ' $third' \' ' into labels" &&
254
- cp script-from-scratch-orig script-from-scratch &&
252
+ echo noop > script-from-scratch &&
255
253
test_config sequence.editor \""$PWD"/replace-editor.sh\" &&
256
254
test_tick &&
257
255
git rebase -i -r A &&
256
+ grep "^label $third-" .git/ORIGINAL-TODO &&
258
257
! grep "^label $third$" .git/ORIGINAL-TODO
259
258
'
260
259
You can’t perform that action at this time.
0 commit comments