From: Stefan Beller Date: Wed, 11 May 2016 00:59:52 GMT Subject: [PATCH 2/7] submodule add: label submodules if asked to Message-ID: <1462928397-1708-3-git-send-email-sbeller@google.com> In-Reply-To: <1462928397-1708-1-git-send-email-sbeller@google.com> When adding new submodules, you can specify the labels 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 | 4 +++- git-submodule.sh | 16 ++++++++++++++- t/t7400-submodule-basic.sh | 44 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 2 deletions(-) diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index 13adebf..9ba8895 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