Re: .git ignored regardless of --git-dir value
- From
- Shawn Ferris <shawn.ferris@gmail.com>
- Date
- Nov 18, 2011, 23:44 UTC
- Message-ID
- <CAC2kKA-E4KstQCGV=gMJHFdUdzM0boc7SmZNzvSh9_OQWvHcdQ@mail.gmail.com>
- In-Reply-To
- <7v7h2xjbf4.fsf@alter.siamese.dyndns.org>
On Fri, Nov 18, 2011 at 3:47 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Junio C Hamano <gitster@pobox.com> writes:
>> >> GIT_DIR and --git-dir are meant to refer to a different .git dir (or a >> bare-looking repository) located elsewhere, and not for a random pathname >> like ".foo". No matter what, ".git/" anywhere is ignored from very early
I'm extremely green to git, so please forgive if this is obvious, but, could I indulge and ask what a sample use case of that would be? (since it's not intended for what I assumed it was) And, if the behavior I expected was possible, simply, with perhaps a separate option, what is the likelihood a patch would be accepted? (Or am I just talking nonsense and should just go away) ;D
Thanks Again!
Shawn