From: Ramkumar Ramachandra Date: Sun, 19 May 2013 11:14:57 GMT Subject: Re: [PATCH 4/9] for-each-ref: add %(current) for current branch marker Message-ID: In-Reply-To: <1368959235-27777-5-git-send-email-pclouds@gmail.com> Nguyễn Thái Ngọc Duy wrote: > diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c > index 08d4eb1..498d703 100644 > --- a/builtin/for-each-ref.c > +++ b/builtin/for-each-ref.c > @@ -75,6 +75,7 @@ static struct { > { "upstream" }, > { "symref" }, > { "flag" }, > + { "current" }, > }; So you've implemented it as another atom. Good.