From: Junio C Hamano Date: Mon, 29 May 2006 05:36:46 GMT Subject: Re: [PATCH 3/4] t5500-fetch-pack: remove local (bashism) usage. Message-ID: <7vpshxbde9.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060529052828.GB24077@localdomain> Eric Wong writes: > Herbert Xu 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.