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

Re: submodule-summary

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 14, 2009, 22:42 UTC
Message-ID
<7vskdla98f.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4AD6423D.10307@web.de>
Jens Lehmann <Jens.Lehmann@web.de> writes:
> 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?).
Well, _that_ is something we could fix in "git submodule", isn't it?

Right now, the only way "git submodule" command can summarize the changes is by showing a left-right shortlog, but it wouldn't be so inconceivable that somebody may come up with different and equally useful way to show them, e.g. diffstat, and at that point, we would probably want to have "git submodule summary --stat" or "git submodule summary --shortlog" (and the default being --shortlog).

I am _not_ married to the naming "shortlog", by the way, and shortlog is rather a bad name for it. Sorry for suggesting it; it is quite different from the actual "git shortlog" command output (and no I am not suggesting to make the output similar to shortlog), but rather is more similar to "log --left-right --oneline". But I think you got the point.

Previous: Jens LehmannNext: Jens Lehmann
Message 13 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.