Merge branch 'ak/t7800-wo-readlink' into maint
[git/git.git] / t / t7800-difftool.sh
index 7ce4cd7..42a2929 100755 (executable)
@@ -446,7 +446,7 @@ write_script .git/CHECK_SYMLINKS <<\EOF
 for f in file file2 sub/sub
 do
        echo "$f"
-       readlink "$2/$f"
+       ls -ld "$2/$f" | sed -e 's/.* -> //'
 done >actual
 EOF