read-cache/write-cache: optionally return cache checksum SHA1.
[gitweb.git] / git-parse-remote.sh
index 65c66d5d7439481cf0ba32c05f1b96def0ad1f86..c9b899e3d73152a92523ed460f4d90fdab3d6f33 100755 (executable)
@@ -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