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

Re: submodule-summary

From
Jens Lehmann <jens.lehmann@web.de>
Date
Oct 14, 2009, 21:27 UTC
Message-ID
<4AD6423D.10307@web.de>
In-Reply-To
<7vfx9lbtpf.fsf_-_@alter.siamese.dyndns.org>
Junio C Hamano schrieb:
Show 13 quoted lines
> Jens Lehmann <Jens.Lehmann@web.de> writes:
> 
>> Dscho condensed his initial patch with the interdiff you mentioned,
>> additionally silenced a compiler warning and activated --first-parent.
>> This follows as patch 1/4. Patches 2/4 to 4/4 contain my two bugfixes
>> and the testcase i copied from submodule summary while adapting it to
>> the changes of the output format.
> 
> I think 2 and 3 should be squashed into the first one.  I do not see any
> good reason for keeping initial "oops that was wrong" etched in stone,
> once the review process has revealed obvious bugs and reasonable fixes
> have been given to them.  If the original author re-spun a v2 patch, that
> is the normal thing that happens.
Right, will do.
Show 16 quoted lines
> I am not happy with the option name --submodule-summary, by the way.
> Naming this option --submodule-summary shows the confusion between this
> series being the _latest_ great invention and this series being the _last_
> great invention.  I'd freely grant the former but would like to avoid the
> latter.
> 
> I have this nagging suspicion that we should leave the door open for later
> addition of --submodule=full that actually gives the patch text for the
> entire aggregated tree, perhaps recursively.  People may want to add even
> more other useful modes that we do not think of right now. It would be
> better to name this --submodule=shortlog or something.
> 
> If users like the shortlog mode (or the full mode) very much, perhaps the
> current default output, which shows the differences between two commit
> object names, can become a --submodule=summary (or --submodule=twoline)
> mode later, and the shortlog mode could become the default.

Good point. (Personally i like the options --submodule=shortlog and --submodule=twoline. Because IMHO --submodule=summary could make people expect similar output to git submodule summary, no?).

Thanks for your feedback, will send new patches soon.
Previous: Junio C HamanoNext: Junio C Hamano
Message 12 of 14 in “What's cooking in git.git (Oct 2009, #02; Sun, 11)”
  1. Junio C HamanoOct 12, 2009
  2. Jeff KingOct 12, 2009
  3. Junio C HamanoOct 12, 2009
  4. Jeff KingOct 14, 2009
  5. Sverre RabbelierOct 12, 2009
  6. Jens LehmannOct 14, 2009
  7. 1/4 Add the --submodule-summary option to the diff option familyJens Lehmann, Oct 14, 2009
  8. 2/4 fix indentation depth for git diff --submodule-summaryJens Lehmann, Oct 14, 2009
  9. 3/4 fix output for deleted submodules in git diff --submodule-summaryJens Lehmann, Oct 14, 2009
  10. 4/4 add tests for git diff --submodule-summaryJens Lehmann, Oct 14, 2009
  11. submodule-summaryJunio C Hamano, Oct 14, 2009
  12. Jens LehmannOct 14, 2009
  13. Junio C HamanoOct 14, 2009
  14. Jens LehmannOct 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.