Re: quick bare clones taking longer?
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 10, 2007, 08:25 UTC
- Message-ID
- <7vejlpkruy.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <vpqtzul3xzm.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@imag.fr> writes:
Show 15 quoted lines
> Junio C Hamano <junkio@cox.net> writes:
>
>> get_repo_base() {
>> - (cd "$1" && (cd .git ; pwd)) 2> /dev/null
>> + (
>> + cd "`/bin/pwd`" &&
>> + cd "$1" &&
>> + (
>> + cd .git
>> + pwd
>> + )
>> + ) 2>/dev/null
>> }
>
> Will this work on windows?Is that a serious question?
If so, my answer is "I do not know, but the update is not any more complex than the existing code -- both are perfectly fine POSIX shell". Besides, if there are enough users who care about Windows, there must be some competent ones among them, and we will hear from them soon enough with an improvement patch.
If not, welcome to my killfile ;-).
NB. No, the last one is not serious. I do not have a killfile.