Merge branch 'en/merge-recursive'
[git] / contrib / workdir / git-new-workdir
index 3ad2c0c..75e8b25 100755 (executable)
@@ -42,7 +42,7 @@ then
 fi
 
 # don't link to a workdir
-if test -L "$git_dir/config"
+if test -h "$git_dir/config"
 then
        die "\"$orig_git\" is a working directory only, please specify" \
                "a complete repository."