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

Re: [PATCH] submodule: make 'show' an alias for 'summary'

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Sep 29, 2012, 15:07 UTC
Message-ID
<CALkWK0nCahg7165_JuJSj7u0UfYRGZgFjJ6O-o=HCwdsPwU-xg@mail.gmail.com>
In-Reply-To
<50670A94.2070504@web.de>
Hi Jens,
Jens Lehmann wrote:
Show 12 quoted lines
> Am 29.09.2012 15:43, schrieb Ramkumar Ramachandra:
>> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
>> ---
>>  Like 'git remote show', 'git stash show'.
>
> I understand the analogy to "git stash show" (as that also displays
> a diff similar to what " git submodule summary" does). But "git
> remote show" just displays a list of configured remotes, which is
> something different. And the other command with a "show" option is
> "git notes show", which causes it to display a note. So I think we
> are pretty inconsistent here and I see no advantage of adding such
> an alias for "git submodule summary". What am I missing?

I used submodules for the first time, and expected 'git submodule show' to work. It may not be 100% consistent with the other commands, but I think the 'summary' is a good match. Either way, I don't feel strongly about the patch, so feel free to drop it if you think it's inappropriate.

Ram
Previous: Jens LehmannNext: Jens Lehmann
Message 9 of 15 in “submodule: make 'show' an alias for 'summary'”
  1. submodule: make 'show' an alias for 'summary'Ramkumar Ramachandra, Sep 29, 2012
  2. submodule: use abbreviated sha1 in 'status' outputRamkumar Ramachandra, Sep 29, 2012
  3. Jens LehmannSep 29, 2012
  4. Ramkumar RamachandraSep 29, 2012
  5. Jens LehmannSep 29, 2012
  6. Ramkumar RamachandraOct 1, 2012
  7. Jens LehmannOct 1, 2012
  8. Jens LehmannSep 29, 2012
  9. Ramkumar RamachandraSep 29, 2012
  10. Jens LehmannSep 29, 2012
  11. Ramkumar RamachandraOct 1, 2012
  12. Jens LehmannOct 1, 2012
  13. Ramkumar RamachandraOct 1, 2012
  14. Jens LehmannOct 1, 2012
  15. Junio C HamanoOct 1, 2012

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.