git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git global usage and tests
@ 2011-05-30 14:58 Romain Geissler
  2011-05-30 15:36 ` Jeff King
  0 siblings, 1 reply; 9+ messages in thread
From: Romain Geissler @ 2011-05-30 14:58 UTC (permalink / raw)
  To: git; +Cc: Matthieu Moy

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-05-31 15:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-30 14:58 Git global usage and tests Romain Geissler
2011-05-30 15:36 ` Jeff King
2011-05-30 16:10   ` Romain Geissler
2011-05-30 16:12     ` Jeff King
2011-05-31  5:12       ` Miles Bader
2011-05-31  9:05         ` Carlos Martín Nieto
2011-05-31  5:19       ` Junio C Hamano
2011-05-31 11:52         ` Ævar Arnfjörð Bjarmason
2011-05-31 15:04           ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).