Merge branch 'master' into next

* master:
  Fix-up previous expr changes.
This commit is contained in:
Junio C Hamano 2006-04-13 19:05:51 -07:00
commit 9306ee06aa
2 changed files with 3 additions and 3 deletions

View File

@ -252,10 +252,10 @@ fetch_main () {
else
not_for_merge=
fi
if expr "z$ref" : 'z\+' >/dev/null
if expr "z$ref" : 'z+' >/dev/null
then
single_force=t
ref=$(expr "z$ref" : 'z\+\(.*\)')
ref=$(expr "z$ref" : 'z+\(.*\)')
else
single_force=
fi

View File

@ -77,7 +77,7 @@ canon_refs_list_for_fetch () {
force=
case "$ref" in
+*)
ref=$(expr "z$ref" : 'z\+\(.*\)')
ref=$(expr "z$ref" : 'z+\(.*\)')
force=+
;;
esac