summaryrefslogtreecommitdiff
path: root/t/t2005-checkout-index-symlinks.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t2005-checkout-index-symlinks.sh')
-rwxr-xr-xt/t2005-checkout-index-symlinks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2005-checkout-index-symlinks.sh b/t/t2005-checkout-index-symlinks.sh
index ed12c4d..9fa5610 100755
--- a/t/t2005-checkout-index-symlinks.sh
+++ b/t/t2005-checkout-index-symlinks.sh
@@ -13,7 +13,7 @@ file if core.symlinks is false.'
test_expect_success \
'preparation' '
git config core.symlinks false &&
-l=$(echo -n file | git hash-object -t blob -w --stdin) &&
+l=$(printf file | git hash-object -t blob -w --stdin) &&
echo "120000 $l symlink" | git update-index --index-info'
test_expect_success \