Re: [PATCH] log --oneline: put decoration at the end of the line
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Sep 20, 2012, 10:43 UTC
- Message-ID
- <CACsJy8BP0vzWG-Po=WBVC_V5Z5_ysoCOTkU-XV3Hy_jVE4H1XQ@mail.gmail.com>
- In-Reply-To
- <20120919234226.GA27626@sigill.intra.peff.net>
On Thu, Sep 20, 2012 at 6:42 AM, Jeff King <peff@peff.net> wrote:
Show 5 quoted lines
> If you are particular about the exact format, how about using > --format="%h%d %s" instead? > > Obviously Duy could do the same to achieve his format, but I think there > is still value in considering what the default for --oneline should be.
Yeah I was wondering if a new default would make sense.
I tried --pretty=format:"%h %s %d" but the colors were lost. --decorate uses more than one color so %C* does not immitate the colorful output we have with --decorate. Maybe I should add %Cd as "colored %d" and update my alias to use it.
And perhaps a specifier to enable right alignment. It may help make better use of wide terminal screen.
-- Duy