From: Phillip Wood Date: Fri, 16 Oct 2020 13:26:11 GMT Subject: Re: [Outreachy] Introduction Message-ID: <05edf120-03fe-9b45-e39c-0d53a517d637@gmail.com> In-Reply-To: Hi Sangeeta On 16/10/2020 06:27, Sangeeta NB wrote: > Hey everyone, > > On Thu, Oct 15, 2020 at 8:15 PM Phillip Wood wrote: > >> diff --git a/submodule.c b/submodule.c >> index 8f6227c993..c4182be633 100644 >> --- a/submodule.c >> +++ b/submodule.c >> @@ -1679,6 +1679,8 @@ unsigned is_submodule_modified(const char *path, >> int ignore_untracked) >> strvec_pushl(&cp.args, "status", "--porcelain=2", NULL); >> if (ignore_untracked) >> strvec_push(&cp.args, "-uno"); >> + else >> + strvec_push (&cp.args, "--ignore-submodules=none"); >> >> prepare_submodule_repo_env(&cp.env_array); >> cp.git_cmd = 1; >> >> fixes it, I'm unsure at the moment if we should be adding the extra flag >> here or setting the appropriate option in status when -uno and >> --ignore-submodules=