Code

Fix-up previous expr changes.
authorJunio C Hamano <junkio@cox.net>
Fri, 14 Apr 2006 02:05:38 +0000 (19:05 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 14 Apr 2006 02:05:38 +0000 (19:05 -0700)
commitdfdcb558ecf93c0e09b8dab89cff4839e8c95e36
treeae8d1dcb7bcf60a633c53a8ea1e1145f8ec60e67
parentf327dbced25a3c6fcc0b84d2d6adffa9343b09f0
Fix-up previous expr changes.

The regexp on the right hand side of expr : operator somehow was
broken.

expr 'z+pu:refs/tags/ko-pu' : 'z\+\(.*\)'

does not strip '+'; write 'z+\(.*\)' instead.

We probably should switch to shell based substring post 1.3.0;
that's not bashism but just POSIX anyway.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh
git-parse-remote.sh