We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b625c2 + 52d0c32 commit 362f695Copy full SHA for 362f695
t/t1006-cat-file.sh
@@ -197,7 +197,7 @@ $content"
197
# FIXME: %(rest) is incompatible with object names that include whitespace,
198
# e.g. HEAD:path/to/a/file with spaces. Use the resolved OID as input to
199
# test this instead of the raw object name.
200
- if echo "$object_name" | grep " "; then
+ if echo "$object_name" | grep -q " "; then
201
test_rest=test_expect_failure
202
else
203
test_rest=test_expect_success
0 commit comments