Re: [PATCH] git: update documentation for --git-dir
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 23, 2020, 06:44 UTC
- Message-ID
- <xmqqwo9i4qq0.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20200123025521.GA126375@google.com>
Emily Shaffer <emilyshaffer@google.com> writes:
Show 5 quoted lines
> I feel biased. I want to say, "In many cases, -C=<path> is easier to > understand than --git-dir" instead. :) But my goal with sending this > task to you was "convince people to use -C instead of --git-dir unless > they're really sure" - which may or may not align with the sentiment of > the rest of the list.
Ahh, OK.
These two are options for completely different purposes, and I tend to agree with you that most users when they misuse --git-dir the do want -C instead.