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

Re: [PATCH v6 3/3] diff: add SUBMODULE_DIFF format to display submodule diff

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 16, 2016, 21:31 UTC
Message-ID
<xmqqmvkcbdui.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CA+P7+xrnUAN8M4UX0hZN213yUKndb_4d+AjohWV45KvCdJm9PQ@mail.gmail.com>
Jacob Keller <jacob.keller@gmail.com> writes:
> Thoughts on that? Or should we just limit ourselves to only some
> options get propagated to the submodule?

I think you have to be selective either way. You do not want pathspecs used to limit the top-level paths propagated down when you run a diff or a log in the submodule, for example, and that does not change even if you start using the code in diff-lib.c (after adding the submodule odb as an alternate).

Previous: Jacob Keller
Message 13 of 13 in “Add support for displaying submodules as a proper diff”
  1. 0/3 Add support for displaying submodules as a proper diffJacob Keller, Aug 15, 2016
  2. 1/3 diff.c: remove output_prefix_length fieldJacob Keller, Aug 15, 2016
  3. Junio C HamanoAug 16, 2016
  4. Jacob KellerAug 16, 2016
  5. 2/3 graph: add support for --line-prefix on all graph-aware outputJacob Keller, Aug 15, 2016
  6. Junio C HamanoAug 16, 2016
  7. Jacob KellerAug 16, 2016
  8. 3/3 diff: add SUBMODULE_DIFF format to display submodule diffJacob Keller, Aug 15, 2016
  9. Junio C HamanoAug 16, 2016
  10. Jacob KellerAug 16, 2016
  11. Junio C HamanoAug 16, 2016
  12. Jacob KellerAug 16, 2016
  13. Junio C HamanoAug 16, 2016

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.