Skip to content

Commit

Permalink
Properly detect git in case of linked worktree
Browse files Browse the repository at this point in the history
  • Loading branch information
gjanssens committed Mar 1, 2018
1 parent ee217c6 commit a64e40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/gnc-vcs-info
Expand Up @@ -95,7 +95,7 @@ fi

# 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" ]
Expand Down

0 comments on commit a64e40d

Please sign in to comment.