Closed voyageur closed 9 years ago
Thanks for reporting.
$ git rev-parse --git-dir
Returned path is absolute if we are not located in topdir, relative (.git) otherwise. I'll use something else.
Thanks, "git -C" works fine indeed here. Added the patch to Gentoo plowshare-2.1.0-r1
Thanks! This will be included in v2.1.1
As detailed in a few stack overflow questions (and other places around google), git pull and other commands do not seem to work fine in some cases with explicit git-dir:
I am not sure what is the proper solution here, to be on the safe side, git commands could be changed with both explicit GIT_WORK_TREE=$L and GIT_DIR=$L/.git (and drop the git rev-parse commands)