Re: GIT v1.5.1-rc1
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Mar 20, 2007, 14:42 UTC
- Message-ID
- <20070320144206.GB1750@spearce.org>
- In-Reply-To
- <200703200937.39440.andyparkins@gmail.com>
Andy Parkins <andyparkins@gmail.com> wrote:
Show 11 quoted lines
> On Tuesday 2007 March 20 02:55, Shawn O. Pearce wrote: > > think they are stuck on the fact that you cannot use: > > > > git log $new --not --all > > > That almost needs a --all-except="refs/heads/a refs/heads/b" option > > to rev-list. Grrrr. > > I'm afraid so. Would a --ignore list be more appropriate? That way you could > list any refs you wanted (i.e. not just --all) and then have that list > finally filtered by --ignore.
Last night on #git Dscho suggested something like:
git log $new --not '!a' '!b' --all
as a way to say ignore ref a and ref b when otherwise parsing the command line arguments. Ugly, very ugly. But is more or less the same idea you are talking about with the --ignore flag.
-- Shawn.