From: Junio C Hamano Date: Thu, 31 Jan 2013 17:02:00 GMT Subject: Re: [PATCH 2/2] branch: let branch filters imply --list Message-ID: <7v4nhxi8vr.fsf@alter.siamese.dyndns.org> In-Reply-To: <1504250.y8BAS4sG2O@al> Peter Wu writes: > One note, the following command spits out master without complaining about the > non-existing branch name: > > git branch --contains master > > (the order of branches doesn't affect the result.) That is perfectly normal. What you gave after "--contains " are *not* branch names. They are patterns against branch names that fits the given criteria (in this case "--contains ") are matched, and the branches that do not match any of the patterns will not appear in the result.