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