Code

Merge branch 'jc/clone'
[git.git] / t / t3700-add.sh
index b52fde8577185adf962b70ad16efbcb7bfe46042..213e9249daa5be824f8b6e1efbc754e39f67bde7 100755 (executable)
@@ -131,8 +131,8 @@ test_expect_success 'git add with filemode=0, symlinks=0 prefers stage 2 over st
        (
                echo "100644 $(git hash-object -w stage1) 1     file"
                echo "100755 $(git hash-object -w stage2) 2     file"
-               echo "100644 $(printf $s | git hash-object -w -t blob --stdin) 1        symlink"
-               echo "120000 $(printf $s | git hash-object -w -t blob --stdin) 2        symlink"
+               echo "100644 $(printf 1 | git hash-object -w -t blob --stdin) 1 symlink"
+               echo "120000 $(printf 2 | git hash-object -w -t blob --stdin) 2 symlink"
        ) | git update-index --index-info &&
        git config core.filemode 0 &&
        git config core.symlinks 0 &&