git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git rev-parse --show-toplevel inside `.git` returns 0 and prints nothing
@ 2019-11-18 22:26 Anthony Sottile
  2019-11-19  2:52 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Anthony Sottile @ 2019-11-18 22:26 UTC (permalink / raw)
  To: Git Mailing List

I would expect it to either:
- exit nonzero
- produce the full path to the root of the repository

would a patch be accepted which changes it to do one of those two
things? I'd be happy to contribute such a patch

Anthony

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

end of thread, other threads:[~2019-11-19  8:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-18 22:26 git rev-parse --show-toplevel inside `.git` returns 0 and prints nothing Anthony Sottile
2019-11-19  2:52 ` Junio C Hamano
2019-11-19  3:33   ` Jeff King
2019-11-19  4:13     ` Anthony Sottile
2019-11-19  7:37       ` Jeff King
2019-11-19  8:05     ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).