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

Re: [PATCH] git submodule summary: add --files option

From
Jens Lehmann <jens.lehmann@web.de>
Date
Aug 15, 2009, 11:40 UTC
Message-ID
<4A869EC7.7080701@web.de>
In-Reply-To
<8c5c35580908150140q1d209664ic5e3816609365e24@mail.gmail.com>
Lars Hjemli schrieb:
Show 24 quoted lines
> On Fri, Aug 14, 2009 at 21:52, Junio C Hamano<gitster@pobox.com> wrote:
>> Jens Lehmann <Jens.Lehmann@web.de> writes:
>>
>>> git submodule summary is providing similar functionality for submodules as
>>> git diff-index does for a git project (including the meaning of --cached).
>>> But the analogon to git diff-files is missing, so add a --files option to
>>> summarize the differences between the index of the super project and the
>>> last commit checked out in the working tree of the submodule.
>>>
>>> Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
>> Makes sense to me.  Comments?
> 
> Acked-by: Lars Hjemli <hjemli@gmail.com> with a tiny fixup:
> 
> --- a/Documentation/git-submodule.txt
> +++ b/Documentation/git-submodule.txt
> @@ -129,7 +129,7 @@ summary::
>         in the submodule between the given super project commit and the
>         index or working tree (switched by --cached) are shown. If the option
>         --files is given, show the series of commits in the submodule between
> -       the index of super project the and the working tree of the submodule
> +       the index of the super project and the working tree of the submodule
>         (this option doesn't allow to use the --cached option or to provide an
>         explicit commit).
Yup, sentence this makes much more sense now ... :-)
Shall i send an updated patch?
Jens
Previous: Lars Hjemli
Message 4 of 4 in “git submodule summary: add --files option”
  1. git submodule summary: add --files optionJens Lehmann, Aug 13, 2009
  2. Junio C HamanoAug 14, 2009
  3. Lars HjemliAug 15, 2009
  4. Jens LehmannAug 15, 2009

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.