[RFC/WIP PATCH 4/4] always show committed submodules in summary after commit
- From
Heiko Voigt <hvoigt@hvoigt.net>
- Date
- Dec 4, 2013, 22:23 UTC
- Message-ID
- <20131204222348.GE7326@sandbox-ub>
- In-Reply-To
- <20131204221659.GA7326@sandbox-ub>
If an ignored submodule is committed because is was registered in the index we should always show that to the user in the printed summary after commit.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net> --- builtin/commit.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/builtin/commit.c b/builtin/commit.c index 6ab4605..e551566 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -1361,6 +1361,7 @@ static void print_summary(const char *prefix, const unsigned char *sha1, strbuf_release(&committer_ident); init_revisions(&rev, prefix); + enforce_no_complete_ignore_submodule(&rev.diffopt); setup_revisions(0, NULL, &rev, NULL); rev.diff = 1;
-- 1.8.5.1.43.gf00fb86