Merge branch 'rr/for-each-ref-decoration'
commitcb6bd5722f430b225b894920fd80975ffa1d0bb5
authorJunio C Hamano <gitster@pobox.com>
Fri, 6 Dec 2013 19:07:20 +0000 (6 11:07 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Dec 2013 19:07:21 +0000 (6 11:07 -0800)
treeb83e0610f305c21cd50ec4e5a5d2dc8625c02af3
parent10a36382ac2e53bbe8dec867c50ee11cc98724fc
parentdb64eb655b48ea2c635480c6cc992b0156817aeb
Merge branch 'rr/for-each-ref-decoration'

Add a few formatting directives to "git for-each-ref --format=...",
to paint them in color, etc.

* rr/for-each-ref-decoration:
  for-each-ref: avoid color leakage
  for-each-ref: introduce %(color:...) for color
  for-each-ref: introduce %(upstream:track[short])
  for-each-ref: introduce %(HEAD) asterisk marker
  t6300 (for-each-ref): don't hardcode SHA-1 hexes
  t6300 (for-each-ref): clearly demarcate setup
builtin/for-each-ref.c
t/t6300-for-each-ref.sh