summaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-11-04 13:00:16 (GMT)
committerJeff King <peff@peff.net>2012-11-04 13:00:16 (GMT)
commit17771447811cee1740810f2d60eb8c31d8b967c9 (patch)
tree46c0f9e550dac7e84427d6d76b9222371f6f38f1 /git-submodule.sh
parentc25a3684f53a237ca5935c403936cb68809f0b0e (diff)
parent835460bba9fa36aa8e3ef1291cc317085ef6e681 (diff)
downloadgit-17771447811cee1740810f2d60eb8c31d8b967c9.zip
git-17771447811cee1740810f2d60eb8c31d8b967c9.tar.gz
git-17771447811cee1740810f2d60eb8c31d8b967c9.tar.bz2
Merge branch 'sz/maint-submodule-reference-arg'
* sz/maint-submodule-reference-arg: submodule add: fix handling of --reference=<repo> option
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-xgit-submodule.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 9e1e1f4..3d1617f 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -270,7 +270,6 @@ cmd_add()
;;
--reference=*)
reference="$1"
- shift
;;
--name)
case "$2" in '') usage ;; esac