From: Bert Wesarg Date: Sun, 31 Aug 2008 07:11:22 GMT Subject: Re: [PATCH] for-each-ref: new 'refshort' format Message-ID: <36ca99e90808310011s3af5929fw5bb67be2bff4fab@mail.gmail.com> In-Reply-To: <7vmyiterfd.fsf@gitster.siamese.dyndns.org> On Sun, Aug 31, 2008 at 06:31, Junio C Hamano wrote: > Bert Wesarg writes: > >> Here is a first sketch for this idea. >> >> This strips from the refname the common prefix with the matched pattern. > > Looks quite straightforward and to the point. > What do you think about the ':short' modifier for 'refname' or '*refname' instead 'refshort'? i.e. %(refname:short) Bert