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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff King
Date: Saturday, February 17, 2007 - 4:40 pm

On Sat, Feb 17, 2007 at 03:30:02PM -0800, Junio C Hamano wrote:


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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
finding earliest tags descended from a given commit, J. Bruce Fields, (Fri Jan 26, 9:06 pm)
Re: finding earliest tags descended from a given commit, Shawn O. Pearce, (Fri Jan 26, 9:22 pm)
Re: finding earliest tags descended from a given commit, Linus Torvalds, (Fri Jan 26, 9:34 pm)
Re: finding earliest tags descended from a given commit, J. Bruce Fields, (Fri Jan 26, 9:42 pm)
Re: finding earliest tags descended from a given commit, Shawn O. Pearce, (Fri Jan 26, 9:55 pm)
Re: finding earliest tags descended from a given commit, Junio C Hamano, (Fri Jan 26, 10:23 pm)
[PATCH] name-rev: introduce the --ref-filter=<regex> option, Johannes Schindelin, (Sat Jan 27, 5:39 am)
[PATCH] name-rev: introduce the --ref-filter=<pattern> option, Johannes Schindelin, (Sat Feb 17, 11:22 am)
[PATCH] git-name-rev: accept list of refs from user, Jeff King, (Sat Feb 17, 4:13 pm)
Re: [PATCH] git-name-rev: accept list of refs from user, Junio C Hamano, (Sat Feb 17, 4:30 pm)
Re: [PATCH] git-name-rev: accept list of refs from user, Jeff King, (Sat Feb 17, 4:40 pm)
Re: [PATCH] git-name-rev: accept list of refs from user, Johannes Schindelin, (Sat Feb 17, 5:02 pm)