Properly detect git in case of linked worktree

This commit is contained in:
Geert Janssens 2018-01-30 19:21:22 +01:00
parent ec9d5feba1
commit 32a196122f

View File

@ -106,7 +106,7 @@ fi
# If we get here then this is NOT an svn checkout.
# Maybe it's git?
real_gitdir="${real_srcdir}"/.git
if test -d "${real_gitdir}"
if test -d "${real_gitdir}" || test -e "${real_gitdir}"
then
# If we're only interested in the vcs type, then we're done here
if [ "$request" = "type" ]