Merge branch 'sz/maint-submodule-reference-arg'

* sz/maint-submodule-reference-arg:
  submodule add: fix handling of --reference=<repo> option
This commit is contained in:
Jeff King 2012-11-04 08:00:16 -05:00
commit 1777144781

View File

@ -270,7 +270,6 @@ cmd_add()
;;
--reference=*)
reference="$1"
shift
;;
--name)
case "$2" in '') usage ;; esac