Re: Question on for-each-ref and --contains

2014-12-23 Thread Jeff King
On Tue, Dec 23, 2014 at 09:50:50AM +0200, St. Blind wrote: > In order to make some analyses here I had to build certain report > lists of our remote refs, based on various "containing" and "merged" > rules. We have more than hundred such refs at a time usually. So my > poor script which tries to m

Re: Question on for-each-ref and --contains

2014-12-23 Thread Øystein Walle
St. Blind gmail.com> writes: > > The > git-branch --contains and --merged are not very handy too, > because the> output is not really flexible, and the --merged works > on HEAD only. > `git branch --merged foo` will list branches that are merged in the history of 'foo'. And the equivalent is

Question on for-each-ref and --contains

2014-12-22 Thread St. Blind
Hi. In order to make some analyses here I had to build certain report lists of our remote refs, based on various "containing" and "merged" rules. We have more than hundred such refs at a time usually. So my poor script which tries to make decisions with the help of rev-list for each ref on each ar