Re: [PATCH 2/2] Use is_pseudo_dir_name everywhere
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 10, 2009, 02:48 UTC
- Message-ID
- <7viqonzxiw.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20090109102407.GA4089@myhost>
Alexander Potashev <aspotashev@gmail.com> writes:
> I didn't think over the support of 'lost+found'.
Yeah, I do not think it is particularly a good idea, but that is what (I thought) you implied in your original message.
In any case, you can always do
$ git clone -n $there it.git
$ mv it.git/.git . && rmdir it.git && git checkout -for something like that (adjust what you move out of it.git when you are doing a bare clone), so in that sense I do not deeply care about the motivation of your patch myself.
But I liked the helper function to abstract away the many identical checks we do for "is it a dot or a dot dot?", and that was the primary reason why I commented on your patches.