[git-users] respect --color option on format placeholders

2014-03-16 Thread Alberto Fanjul Alonso
I love to use git log from command line, exactly:

git log --color --graph --oneline --decorate

or for a first look

git log --color --graph --oneline --decorate --simplify-by-decoration --all

but sometimes I miss the date, committer email or the like, and using 
format string does not apply colors in placeholders

It would be nice to config log the way you like without messing around with 
colors

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] respect --color option on format placeholders

2014-03-16 Thread Philip Oakley
- Original Message - 
  From: Alberto Fanjul Alonso 
  To: git-users@googlegroups.com 
  Sent: Sunday, March 16, 2014 10:38 AM
  Subject: [git-users] respect --color option on format placeholders


  I love to use git log from command line, exactly:


  git log --color --graph --oneline --decorate


  or for a first look


  git log --color --graph --oneline --decorate --simplify-by-decoration --all


  but sometimes I miss the date, committer email or the like, and using format 
string does not apply colors in placeholders


  It would be nice to config log the way you like without messing around with 
colors

  -- 
IIUC You can, using the %C(auto) token. 
http://stackoverflow.com/a/16844346/717355

Probably worth looking at the release notes for the version [1.8.3 (May 24, 
2013)] and then at the commits that introduced it to see if the documentation 
is missing something.

I've not used it myself ;-)

--
Philip

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.