Re: [PATCH] Minor portability patch to git-submodule
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 17, 2007, 22:54 UTC
- Message-ID
- <Pine.LNX.4.64.0712172253150.9446@racer.site>
- In-Reply-To
- <Pine.LNX.4.64.0712171639420.24957@fractal.phys.lafayette.edu>
Hi,
On Mon, 17 Dec 2007, Andy Dougherty wrote:
> - git ls-files --stage -- "$@" | grep -e '^160000 ' | > + git ls-files --stage -- "$@" | egrep -e '^160000 ' |
Nack. egrep is not available on all platforms. But then I have to wonder why not saying "grep '^160000 '" instead?
Ciao, Dscho