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

Re: [PATCH] gitk: Use the --submodule option for diffs

From
Paul Mackerras <paulus@samba.org>
Date
Oct 28, 2009, 04:03 UTC
Message-ID
<19175.49800.697048.349753@drongo.ozlabs.ibm.com>
In-Reply-To
<4AE70AC9.6040302@web.de>
Jens Lehmann writes:
Show 10 quoted lines
> Instead of just showing not-quite-helpful SHA-1 pairs display the first
> lines of the corresponding commit messages in the submodule (similar to
> the output of 'git submodule summary').
> 
> Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
> ---
> 
> This patch applies to 'next' and uses the new --submodule option of git
> diff to achieve a more meaningful output of submodule differences in
> gitk.
(That sentence should have been in the commit message.)
> Any objections against making this the default?

What version of git is the first to have the --submodule option? Since it's a new option we should make gitk use it only if the underlying git is new enough, like we do with the --textconv option.

Also, the commit message is a bit sparse; it doesn't mention that this affects the diff display, for instance.

Paul.
Previous: Johannes SchindelinNext: Jens Lehmann
Message 3 of 6 in “gitk: Use the --submodule option for diffs”
  1. gitk: Use the --submodule option for diffsJens Lehmann, Oct 27, 2009
  2. Johannes SchindelinOct 27, 2009
  3. Paul MackerrasOct 28, 2009
  4. gitk: Use the --submodule option for displaying diffs when availableJens Lehmann, Oct 28, 2009
  5. Paul MackerrasNov 3, 2009
  6. Junio C HamanoOct 28, 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.