From 4759f9c533b7604d197861dc725c114668c65052 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Fri, 3 Jan 2025 09:52:09 -0800 Subject: [PATCH] Can I get rid of the FUNNYNAME requirement? --- t/t1006-cat-file.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh index 84191ee68a13d9..377fd0e69bc5ec 100755 --- a/t/t1006-cat-file.sh +++ b/t/t1006-cat-file.sh @@ -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