From: Felipe Contreras Date: Sun, 19 May 2013 11:38:51 GMT Subject: Re: [PATCH 5/9] for-each-ref: add %(tracking[:upstream]) for tracking info Message-ID: In-Reply-To: On Sun, May 19, 2013 at 6:18 AM, Ramkumar Ramachandra wrote: > Nguyễn Thái Ngọc Duy wrote: >> diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c >> index 498d703..b10d48a 100644 >> --- a/builtin/for-each-ref.c >> +++ b/builtin/for-each-ref.c >> @@ -76,6 +76,8 @@ static struct { >> { "symref" }, >> { "flag" }, >> { "current" }, >> + { "tracking" }, >> + { "tracking:upstream" }, >> }; > > You just threw the upstream atom (and "upstream:short") out the window :| Huh? Those don't print the tracking information, do they? "tracking:upstream" prints the upstream, but other things as well I suppose. -- Felipe Contreras