@@ -254,36 +254,36 @@ test_expect_success 'checkout should not delete log for packed ref' '
254
254
'
255
255
256
256
test_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 " &&
258
258
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 &&
262
262
test_cmp expect actual &&
263
- git branch -d a/b &&
263
+ git branch -d one/two &&
264
264
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 &&
270
270
test_cmp expect actual
271
271
'
272
272
273
273
test_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 " &&
275
275
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 &&
279
279
test_cmp expect actual &&
280
- git branch -d a/b &&
280
+ git branch -d one/two &&
281
281
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
283
283
# 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 &&
285
285
: >expect &&
286
- git log -g --format="%gd %gs" a >actual &&
286
+ git log -g --format="%gd %gs" one >actual &&
287
287
test_cmp expect actual
288
288
'
289
289
0 commit comments