From: Junio C Hamano Date: Thu, 08 Nov 2007 08:13:58 GMT Subject: Re: [PATCH] git-branch --with=commit Message-ID: <7vejf140jd.fsf@gitster.siamese.dyndns.org> In-Reply-To: <4732BC6F.7070005@viscovery.net> Johannes Sixt writes: > Junio C Hamano schrieb: >> $ git checkout -b xx/maint-fix-foo >> $ git am -3 -s ,xx-maint-fix-foo.patch > > Is this comma a hidden feature? No, just my personal convention to queue e-mails from my mailbox. >> With this patch, I could do this to find out which topic >> branches already contain the faulty commit: >> >> $ git branch --with=maint^ | grep / >> xx/maint-fix-foo > > It'd be helpful if you could construct the example in this commit > message such that you don't need the "grep /" here; otherwise, the > reader doesn't know which part of the effect is hidden by the grep. Yeah, in the example sequence, I think only maint itself and xx/maint-fix-foo are shown, so there is no need for grep.