On Thu, Sep 20, 2012 at 5:43 PM, Nguyen Thai Ngoc Duy <pclo...@gmail.com> wrote:
> 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.

Here goes. I'm now a happy user with --pretty='format:%C+%h %s %d'.
Somebody might want to add coloring to sig placeholder too.

Nguyễn Thái Ngọc Duy (2):
  pretty: share code between format_decoration and show_decorations
  pretty: support placeholders %C+ and %C-

 Documentation/pretty-formats.txt |  2 ++
 log-tree.c                       | 55 ++++++++++++++++++++++++----------------
 log-tree.h                       |  3 +++
 pretty.c                         | 30 +++++++++-------------
 4 files changed, 50 insertions(+), 40 deletions(-)


To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to