From: Junio C Hamano Date: Mon, 29 Aug 2011 05:55:10 GMT Subject: Re: [PATCHv3 4/5] branch: introduce --list option Message-ID: <7v8vqc92yp.fsf@alter.siamese.dyndns.org> In-Reply-To: <05a1a73e0b942dd94dd091c233be964fa19dfc6a.1314543252.git.git@drmicha.warpmail.net> Michael J Gruber writes: > +test_expect_success 'git branch --list shows local branches' ' > + git branch --list >actual && > + test_cmp expect actual > +' > + > +cat >expect <<'EOF' > + branch-one > + branch-two > +EOF > +test_expect_success 'git branch --list pattern shows matching local branches' ' > + git branch --list branch* >actual && > + test_cmp expect actual > +' Does this one exclude the "* master" entry at this stage in the series?