From: Junio C Hamano Date: Sat, 11 Feb 2012 08:13:05 GMT Subject: Re: [RFC/PATCH] tag: make list exclude ! Message-ID: <7vlio9n5ym.fsf@alter.siamese.dyndns.org> In-Reply-To: <4F361DD4.9020108@alum.mit.edu> Michael Haggerty writes: > The proposal, amended to use "^" instead of "!", is that > > git for-each-ref A B ^C > > should mean "the reference names A and B but not C". Therefore, the command > > git rev-list $(git for-each-ref A B ^C) > > , which consistency suggests should do the same thing as the first > command,... That is an utter rubbish that does not even deserve a response. Your argument is like saying git for-each-ref A and git for-each-ref $(git rev-parse A) should somehow magically produce the same (or related) result. The for-each-ref command operates on refname patterns, while rev-list and rev-parse takes object names.