From: Uwe Kleine-König Date: Wed, 25 Mar 2009 12:20:27 GMT Subject: Re: [TopGit PATCH] hooks/pre-commit.sh: fix it again Message-ID: <20090325122027.GB30873@pengutronix.de> In-Reply-To: <1237981384-7857-1-git-send-email-bert.wesarg@googlemail.com> On Wed, Mar 25, 2009 at 12:43:04PM +0100, Bert Wesarg wrote: > First I think the '#' is a leftover, second this is now a bashism. according to bash(1): If pattern begins with #, it must match at the beginning of the expanded value of parameter. And I noticed, too, that this is a bashism. Using dash it fails, even with your patch. I would prefer to really fix it now. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |