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' '
7070 merge -C H second
7171 merge onebranch # Merge the topic branch ' \' ' onebranch' \' '
7272 EOF
73- cp script-from-scratch script-from-scratch-orig &&
7473 test_config sequence.editor \""$PWD"/replace-editor.sh\" &&
7574 test_tick &&
7675 git rebase -i -r A &&
@@ -244,17 +243,17 @@ test_expect_success 'refuse to merge ancestors of HEAD' '
244243
245244test_expect_success ' labels that are object IDs are rewritten' '
246245 git checkout -b third B &&
247- test_tick &&
248246 test_commit I &&
249247 third=$(git rev-parse HEAD) &&
250248 git checkout -b labels master &&
251249 git merge --no-commit third &&
252250 test_tick &&
253251 git commit -m "Merge commit ' \' ' $third' \' ' into labels" &&
254- cp script-from-scratch-orig script-from-scratch &&
252+ echo noop > script-from-scratch &&
255253 test_config sequence.editor \""$PWD"/replace-editor.sh\" &&
256254 test_tick &&
257255 git rebase -i -r A &&
256+ grep "^label $third-" .git/ORIGINAL-TODO &&
258257 ! grep "^label $third$" .git/ORIGINAL-TODO
259258'
260259
You can’t perform that action at this time.
0 commit comments