From: Romain Geissler Date: Mon, 30 May 2011 14:58:14 GMT Subject: Git global usage and tests Message-ID: <754E784F-51C6-4B8D-B15D-3FF8B7AF1321@gmail.com> Hello, We are currently coding a minimal git client using libgit2, and as quoted by David Glesser in another mail, we use the git test base on our client to validate it. We found a test that tries to run git with a specified --git-dir but don't use the way it's described in the help. Indeed the test t2050-git-dir-relative.sh run : echo changed >top && git --git-dir subdir/.git add top && git --git-dir subdir/.git commit -m topcommit && test -r "${COMMIT_FILE}" But according to the git help, it should have specified a git-dir with --git-dir=value ie git --git-dir=subdir/.git add top Am i wrong or the test must be rewritten ? Romain Geissler