Re: [PATCH 3/4] t5500-fetch-pack: remove local (bashism) usage.
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 29, 2006, 05:36 UTC
- Message-ID
- <7vpshxbde9.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060529052828.GB24077@localdomain>
Eric Wong <normalperson@yhbt.net> writes:
Show 10 quoted lines
> Herbert Xu <herbert@gondor.apana.org.au> wrote: >> On Thu, May 25, 2006 at 07:06:17PM -0700, Eric Wong wrote: >> > None of the variables seem to conflict, so local was unnecessary. >> >> BTW, dash supports (and has always supported) local which is a quite >> useful feature. > > Cool. Hmm... pdksh seems to support it here (Debian sid). I'm pretty > sure local is not part of the POSIX spec, though; and I have seen > /bin/sh that don't support it.
Concurred. There are things Herbert said are clearly dash bugs, but this one is outside POSIX, so lets leave your changes to the test for it.