git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] builtin/grep.c: remote superflous submodule code

From
Antonio Ospite <ao2@ao2.it>
Date
Oct 6, 2018, 08:59 UTC
Message-ID
<20181006105959.47f8ccf38281d8bdd07448e7@ao2.it>
In-Reply-To
<20181005224557.31420-1-sbeller@google.com>

On Fri, 5 Oct 2018 15:45:57 -0700 Stefan Beller <sbeller@google.com> wrote:

Show 13 quoted lines
> In f9ee2fcdfa (grep: recurse in-process using 'struct repository',
> 2017-08-02), we introduced a call to repo_read_gitmodules in builtin/grep
> to simplify the submodule handling.
> 
> After ff6f1f564c4 (submodule-config: lazy-load a repository's .gitmodules
> file, 2017-08-03) this is no longer necessary, but that commit did not
> cleanup the whole tree, but just show cased the new way how to deal with
> submodules in ls-files.
> 
> Cleanup the only remaining caller to repo_read_gitmodules outside of
> submodule.c
> 
> Signed-off-by: Stefan Beller <sbeller@google.com>
Not sure if I am entitled to formally ack it, but:
Acked-by: Antonio Ospite <ao2@ao2.it>
Show 11 quoted lines
> ---
> 
> Antonio Ospite writes:
> > BTW, with Stefan Beller we also identified some unneeded code which
> > could have been removed to alleviate the issue, but that would not have
> > solved it completely; so, I am not removing the unnecessary call to
> > repo_read_gitmodules() builtin/grep.c in this series, possibly this can
> > become a stand-alone change.
> 
> Here is the stand-alone change.
>
Thank you for sending it.
Ciao,
   Antonio
-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
Previous: Stefan BellerNext: Junio C Hamano
Message 2 of 5 in “builtin/grep.c: remote superflous submodule code”
  1. builtin/grep.c: remote superflous submodule codeStefan Beller, Oct 5, 2018
  2. Antonio OspiteOct 6, 2018
  3. Junio C HamanoOct 7, 2018
  4. Junio C HamanoOct 7, 2018
  5. Stefan BellerOct 9, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.