Skip to content

Commit

Permalink
Can I get rid of the FUNNYNAME requirement?
Browse files Browse the repository at this point in the history
  • Loading branch information
newren committed Jan 3, 2025
1 parent 83e483e commit 4759f9c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions t/t1006-cat-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -603,18 +603,18 @@ test_expect_success FUNNYNAMES '--batch-check, -Z with newline in input' '
test_cmp expect actual
'

test_expect_success FUNNYNAMES 'setup with curly braches in input' '
git branch "foo{bar" &&
git branch "foo@"
test_expect_success 'setup with curly braches in input' '
git branch "foo{bar" HEAD &&
git branch "foo@" HEAD
'

test_expect_success FUNNYNAMES 'object reference with curly brace' '
test_expect_success 'object reference with curly brace' '
git cat-file -p "foo{bar:hello" >actual &&
git cat-file -p HEAD:hello >expect &&
test_cmp expect actual
'

test_expect_success FUNNYNAMES 'object reference with at-sign' '
test_expect_success 'object reference with at-sign' '
git cat-file -p "foo@@{0}:hello" >actual &&
git cat-file -p HEAD:hello >expect &&
test_cmp expect actual
Expand Down

0 comments on commit 4759f9c

Please sign in to comment.