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

Re: [PATCH v4 2/5] git-submodule summary: show commit summary

From
Ping Yin <pkufranky@gmail.com>
Date
Mar 11, 2008, 01:52 UTC
Message-ID
<46dff0320803101852j421646e6t5b8c71b656c72935@mail.gmail.com>
In-Reply-To
<1205171657-16216-2-git-send-email-pkufranky@gmail.com>
On Tue, Mar 11, 2008 at 1:54 AM, Ping Yin <pkufranky@gmail.com> wrote:
Show 8 quoted lines
> This patch does the hard work to show submodule commit summary.
>
>  For a modified submodule, a series of commits will be shown with
>  the following command
>
>         git log --pretty='format:%m %s' --left-right \
>         --first-parent sha1_src...sha1_dst
>

It seems that --left-right makes no sense when combined with --pretty='format:%m %s'

I originally thought --left-right will make left-side commits always appear before or after right side commits, but that's not the case. Actually it seems that --left-right doesn't influence the commit order.

Is my understanding right?
>  where the src sha1 is from the given super project commit and the
>  dst sha1 is from the index or working tree (switched by --cached).
>
-- 
Ping Yin
Previous: Ping YinNext: Junio C Hamano
Message 8 of 10 in “git-submodule summary: code framework”
  1. 1/5 git-submodule summary: code frameworkPing Yin, Mar 10, 2008
  2. 2/5 git-submodule summary: show commit summaryPing Yin, Mar 10, 2008
  3. 3/5 git-submodule summary: limit summary sizePing Yin, Mar 10, 2008
  4. 4/5 git-submodule summary: documentationPing Yin, Mar 10, 2008
  5. 5/5 git-submodule summary: testPing Yin, Mar 10, 2008
  6. Ping YinMar 11, 2008
  7. Ping YinMar 10, 2008
  8. Ping YinMar 11, 2008
  9. Junio C HamanoMar 11, 2008
  10. Ping YinMar 11, 2008

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.