about summary refs log tree commit diff
path: root/third_party/git/t/t4054-diff-bogus-tree.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t4054-diff-bogus-tree.sh')
-rwxr-xr-xthird_party/git/t/t4054-diff-bogus-tree.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/third_party/git/t/t4054-diff-bogus-tree.sh b/third_party/git/t/t4054-diff-bogus-tree.sh
index 8c95f152b23b..fcae82fffa7f 100755
--- a/third_party/git/t/t4054-diff-bogus-tree.sh
+++ b/third_party/git/t/t4054-diff-bogus-tree.sh
@@ -4,9 +4,8 @@ test_description='test diff with a bogus tree containing the null sha1'
 . ./test-lib.sh
 
 test_expect_success 'create bogus tree' '
-	name=$(echo $ZERO_OID | sed -e "s/00/Q/g") &&
 	bogus_tree=$(
-		printf "100644 fooQ$name" |
+		printf "100644 fooQQQQQQQQQQQQQQQQQQQQQ" |
 		q_to_nul |
 		git hash-object -w --stdin -t tree
 	)