Re: quick bare clones taking longer?
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 10, 2007, 21:55 UTC
- Message-ID
- <7vbqgsibrr.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <loom.20070510T224750-851@post.gmane.org>
Dan Nicholson <dbn.lists@gmail.com> writes:
Show 6 quoted lines
> In fact, all POSIX shells should support `cd -P' according to the spec, so it > should probably just be used directly instead of hoping that /bin/pwd exists. > > (cd -P "$1" && (cd .git ; pwd)) 2>/dev/null > > http://www.opengroup.org/onlinepubs/009695399/utilities/cd.html
Yes but no ;-). I've said this a few times on the list in the past, but I'll repeat it again for new people.
We reject something whose portability in question by saying "It's not _even in_ POSIX". We on the other hand try to refrain from saying "POSIX says you are supposed to have it, so screw people that are not fully POSIX".