From 32a196122f33dbe342a29c57a5bbcefa5a8410ed Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Tue, 30 Jan 2018 19:21:22 +0100 Subject: [PATCH] Properly detect git in case of linked worktree --- util/gnc-vcs-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/gnc-vcs-info b/util/gnc-vcs-info index 7cf3ecee3b..a24b4be051 100755 --- a/util/gnc-vcs-info +++ b/util/gnc-vcs-info @@ -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" ]