From: Stefan Beller Date: Tue, 26 Apr 2016 20:50:21 GMT Subject: [PATCH 03/15] submodule add: label submodules if asked to Message-ID: <1461703833-10350-4-git-send-email-sbeller@google.com> In-Reply-To: <1461703833-10350-1-git-send-email-sbeller@google.com> When adding new submodules, you can specify the label(s) the submodule belongs to by giving one or more --label arguments. This will record each label in the .gitmodules file as a value of the key "submodule.$NAME.label". Signed-off-by: Stefan Beller --- Documentation/git-submodule.txt | 5 ++++- git-submodule.sh | 14 +++++++++++++- t/t7400-submodule-basic.sh | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index 8c4bbe2..349ead8 100644 --- a/Documentation/git-submodule.txt +++ b/Documentation/git-submodule.txt @@ -9,7 +9,7 @@ git-submodule - Initialize, update or inspect submodules SYNOPSIS -------- [verse] -'git submodule' [--quiet] add [-b ] [-f|--force] [--name ] +'git submodule' [--quiet] add [-b ] [-f|--force] [-l|--label