Re: [GNC-dev] util/gnc-vcs-info fails if building from a Git worktree (with possible solution)

2022-07-10 Thread john
> On Jul 10, 2022, at 4:38 AM, Kevin Buckley wrote: > > I have recently discovered that > > util/gnc-vcs-info > > fails if building from a Git worktree. > > Within gnc-vcs-info is this test > > # Maybe it's git? > real_gitdir="${real_srcdir}"/.git > if test -d "${real_gitdir}" > then > ..

[GNC-dev] util/gnc-vcs-info fails if building from a Git worktree (with possible solution)

2022-07-10 Thread Kevin Buckley
I have recently discovered that util/gnc-vcs-info fails if building from a Git worktree. Within gnc-vcs-info is this test # Maybe it's git? real_gitdir="${real_srcdir}"/.git if test -d "${real_gitdir}" then ... however, if you have checked out a Git branch into a worktree, then .git will be