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