Re: git -C has unexpected behaviour
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 7, 2016, 16:54 UTC
- Message-ID
- <alpine.DEB.2.20.1611071753200.3108@virtualbox>
- In-Reply-To
- <CADJspf+zqj2hHjD85dvt8Y4HKPViubvTzybbTq5mJDGCh2q1UQ@mail.gmail.com>
Hi Felix,
On Mon, 7 Nov 2016, Felix Nairz wrote:
> From what you are saying I can see that this expects as designed. It's > confusing in the submodule case, but I get you don't want to add extra > rules which slow down performance and mess with other people at the > same time.
The "messing with other people" is the key point. There are most likely other users than just me who use the fact that `git -C sub/directory/ ...` works in a subdirectory of a checkout.
Ciao, Johannes