git rev-parse --show-toplevel inside `.git` returns 0 and prints nothing
- From
Anthony Sottile <asottile@umich.edu>
- Date
- Nov 18, 2019, 22:26 UTC
- Message-ID
- <CA+dzEBmrMavFJeyPSQr2wA9kFZwz_Kfr6PFBLRfLJ-EuCVXJnA@mail.gmail.com>
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