summaryrefslogtreecommitdiff
path: root/git-parse-remote.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-13 19:05:51 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-13 19:05:51 -0700
commit9306ee06aade757789e734c1a857d175c5d18de2 (patch)
treef870691352bcf92e27d51285dd8444ed8927b9ba /git-parse-remote.sh
parentMerge branch 'js/diffstat' into next (diff)
parentFix-up previous expr changes. (diff)
downloadtgif-9306ee06aade757789e734c1a857d175c5d18de2.tar.xz
Merge branch 'master' into next
* master: Fix-up previous expr changes.
Diffstat (limited to 'git-parse-remote.sh')
-rwxr-xr-xgit-parse-remote.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 65c66d5d74..c9b899e3d7 100755
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -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