Re: [PATCH] git-branch --with=commit
- From
Andreas Ericsson <ae@op5.se>
- Date
- Nov 8, 2007, 09:17 UTC
- Message-ID
- <4732D440.2020504@op5.se>
- In-Reply-To
- <7vejf140jd.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 15 quoted lines
> Johannes Sixt <j.sixt@viscovery.net> writes: > >> Junio C Hamano schrieb: > >>> 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.
And "maint" could certainly be stripped by the code itself, since the user can reasonably be expected to know that plain maint will have everything maint^ has.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231