Re: [PATCH] git-name-rev: accept list of refs from user

From: Jeff King <peff@peff.net>
Date: 2007-02-18 10:40:46
On Sat, Feb 17, 2007 at 03:30:02PM -0800, Junio C Hamano wrote:

> I was hoping that everybody would be happy once Johannes's patch
> is extended to grok more than one --refs=<pattern> options.

I don't think just having text filters easily allows something like:

  git show-ref |
    perl -ne 'print if m#tags/v1\.(\d+)# && $1 > 3' |
    git name-rev --refs-from=- $commit

But I don't know how many people will want to do something that complex.
I suppose you could mimic it with many --refs, but the syntax gets a bit
painful.

-Peff
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Feb 18 10:41:05 2007

This archive was generated by hypermail 2.1.8 : 2007-02-18 10:45:49 EST