From: Junio C Hamano Date: Tue, 26 Apr 2016 22:49:50 GMT Subject: Re: [PATCH 03/15] submodule add: label submodules if asked to Message-ID: In-Reply-To: <1461703833-10350-4-git-send-email-sbeller@google.com> Stefan Beller writes: > 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