X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft6025-merge-symlinks.sh;h=950c2e9b632f59a9405ba2100eb077836223291d;hb=071a8877662974f588dfc0b1ac7df2764b7e0337;hp=3c1a6972bd05608d9ed1a244996e7eb72056ed6d;hpb=045f5759c97746589a067461e50fad16f60711ac;p=git.git diff --git a/t/t6025-merge-symlinks.sh b/t/t6025-merge-symlinks.sh old mode 100644 new mode 100755 index 3c1a6972b..950c2e9b6 --- a/t/t6025-merge-symlinks.sh +++ b/t/t6025-merge-symlinks.sh @@ -12,22 +12,22 @@ if core.symlinks is false.' test_expect_success \ 'setup' ' -git-config core.symlinks false && +git config core.symlinks false && > file && -git-add file && +git add file && git-commit -m initial && -git-branch b-symlink && -git-branch b-file && +git branch b-symlink && +git branch b-file && l=$(echo -n file | git-hash-object -t blob -w --stdin) && -echo "120000 $l symlink" | git-update-index --index-info && +echo "120000 $l symlink" | git update-index --index-info && git-commit -m master && git-checkout b-symlink && l=$(echo -n file-different | git-hash-object -t blob -w --stdin) && -echo "120000 $l symlink" | git-update-index --index-info && +echo "120000 $l symlink" | git update-index --index-info && git-commit -m b-symlink && git-checkout b-file && echo plain-file > symlink && -git-add symlink && +git add symlink && git-commit -m b-file' test_expect_failure \