Skip to content

Commit 1777144

Browse files
committed
Merge branch 'sz/maint-submodule-reference-arg'
* sz/maint-submodule-reference-arg: submodule add: fix handling of --reference=<repo> option
2 parents c25a368 + 835460b commit 1777144

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

git-submodule.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ cmd_add()
270270
;;
271271
--reference=*)
272272
reference="$1"
273-
shift
274273
;;
275274
--name)
276275
case "$2" in '') usage ;; esac

0 commit comments

Comments
 (0)