Re: [PATCH] Don't use cpio in git-clone when not installed
- From
Mike Hommey <mh@glandium.org>
- Date
- Nov 1, 2007, 06:31 UTC
- Message-ID
- <20071101063131.GA22401@glandium.org>
- In-Reply-To
- <alpine.LFD.0.999.0710311742170.3342@woody.linux-foundation.org>
On Wed, Oct 31, 2007 at 05:46:40PM -0700, Linus Torvalds wrote:
Show 8 quoted lines
> > > On Wed, 31 Oct 2007, Mike Hommey wrote: > > + if type cpio > /dev/null 2>&1; then > > + local=yes > > + fi > > Isn't "type" a bashism?
I think it's POSIX, and since I found the same construct in git-mergetool.sh, I thought it would be okay for git.
Mike