@@ -254,36 +254,36 @@ test_expect_success 'checkout should not delete log for packed ref' '
254254'
255255
256256test_expect_success ' stale dirs do not cause d/f conflicts (reflogs on)' '
257- test_when_finished "git branch -d a || git branch -d a/b " &&
257+ test_when_finished "git branch -d one || git branch -d one/two " &&
258258
259- git branch a/b master &&
260- echo "a/b @{0} branch: Created from master" >expect &&
261- git log -g --format="%gd %gs" a/b >actual &&
259+ git branch one/two master &&
260+ echo "one/two @{0} branch: Created from master" >expect &&
261+ git log -g --format="%gd %gs" one/two >actual &&
262262 test_cmp expect actual &&
263- git branch -d a/b &&
263+ git branch -d one/two &&
264264
265- # now logs/refs/heads/a is a stale directory, but
266- # we should move it out of the way to create "a " reflog
267- git branch a master &&
268- echo "a @{0} branch: Created from master" >expect &&
269- git log -g --format="%gd %gs" a >actual &&
265+ # now logs/refs/heads/one is a stale directory, but
266+ # we should move it out of the way to create "one " reflog
267+ git branch one master &&
268+ echo "one @{0} branch: Created from master" >expect &&
269+ git log -g --format="%gd %gs" one >actual &&
270270 test_cmp expect actual
271271'
272272
273273test_expect_success ' stale dirs do not cause d/f conflicts (reflogs off)' '
274- test_when_finished "git branch -d a || git branch -d a/b " &&
274+ test_when_finished "git branch -d one || git branch -d one/two " &&
275275
276- git branch a/b master &&
277- echo "a/b @{0} branch: Created from master" >expect &&
278- git log -g --format="%gd %gs" a/b >actual &&
276+ git branch one/two master &&
277+ echo "one/two @{0} branch: Created from master" >expect &&
278+ git log -g --format="%gd %gs" one/two >actual &&
279279 test_cmp expect actual &&
280- git branch -d a/b &&
280+ git branch -d one/two &&
281281
282- # same as before, but we only create a reflog for "a " if
282+ # same as before, but we only create a reflog for "one " if
283283 # it already exists, which it does not
284- git -c core.logallrefupdates=false branch a master &&
284+ git -c core.logallrefupdates=false branch one master &&
285285 : >expect &&
286- git log -g --format="%gd %gs" a >actual &&
286+ git log -g --format="%gd %gs" one >actual &&
287287 test_cmp expect actual
288288'
289289
0 commit comments