Fix: __git_complete_remote_or_refspec:35: bad pattern: +*

This commit is contained in:
ayanamist 2013-12-17 16:10:32 +08:00
commit 5dbf73b29f

View file

@ -643,8 +643,8 @@ __git_complete_remote_or_refspec ()
cur_="${cur_#*:}" cur_="${cur_#*:}"
lhs=0 lhs=0
;; ;;
+*) *)
pfx="+" pfx=""
cur_="${cur_#+}" cur_="${cur_#+}"
;; ;;
esac esac