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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 11, 2008 at 1:54 AM, Ping Yin <pkufranky@xxxxxxxxx> wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux