From: Junio C Hamano Date: Fri, 23 Mar 2012 17:38:32 GMT Subject: Re: Listing commits that are _exclusively_ available on a given branch Message-ID: <7vaa37usiv.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120323170640.GA12881@sigill.intra.peff.net> Jeff King writes: > No, I think that is the only way to do it. The algorithm run by rev-list > in that case should be optimal, so there is nothing to improve there. > Syntactically, it's a little bit of a pain because there is no way to > tell rev-list "--all, except for this one branch" short of using grep. > We could add a new syntax for that, but I'm not sure what it would look > like (or if it would be any easier on the eyes than what you have). We discussed --exclude-refs="refs/tags/expermental-*" that would affect how --all, --heads, and friends are processed several weeks ago, didn't we?