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:
@ -270,7 +270,6 @@ cmd_add()
|
|||||||
;;
|
;;
|
||||||
--reference=*)
|
--reference=*)
|
||||||
reference="$1"
|
reference="$1"
|
||||||
shift
|
|
||||||
;;
|
;;
|
||||||
--name)
|
--name)
|
||||||
case "$2" in '') usage ;; esac
|
case "$2" in '') usage ;; esac
|
||||||
|
Reference in New Issue
Block a user