Re: git tag --no-merged?

2015-02-05 Thread Peter Krefting
Kyle J. McKay: I think something like this might do what you want: git for-each-ref --format='%(refname)' refs/tags | \ while read t; do if ! git merge-base --is-ancestor $t HEAD; then echo ${t#refs/tags/} fi done That works like a charm, thank you! -- \\// Peter -

Re: git tag --no-merged?

2015-02-04 Thread Johannes Sixt
Am 04.02.2015 um 16:19 schrieb Peter Krefting: Using git branch --no-merged I can get a list of branches that I have that I haven't merged into my current branch. Assuming v2.0.0 is a tag, using git branch --no-merged v2.0.0 you can see which branches haven't been merged into v2.0.0. -- Hannes

Re: git tag --no-merged?

2015-02-04 Thread Junio C Hamano
Peter Krefting pe...@softwolves.pp.se writes: Using git branch --no-merged I can get a list of branches that I have that I haven't merged into my current branch. git tag doesn't have such an option, is there a way to achieve something similar listing tags that point to commits that aren't in

Re: git tag --no-merged?

2015-02-04 Thread Junio C Hamano
Johannes Sixt j...@kdbg.org writes: Am 04.02.2015 um 16:19 schrieb Peter Krefting: Using git branch --no-merged I can get a list of branches that I have that I haven't merged into my current branch. Assuming v2.0.0 is a tag, using git branch --no-merged v2.0.0 you can see which branches

Re: git tag --no-merged?

2015-02-04 Thread Kyle J. McKay
On Feb 4, 2015, at 07:19, Peter Krefting wrote: Using git branch --no-merged I can get a list of branches that I have that I haven't merged into my current branch. git tag doesn't have such an option, is there a way to achieve something similar listing tags that point to commits that aren't

git tag --no-merged?

2015-02-04 Thread Peter Krefting
Hi! Using git branch --no-merged I can get a list of branches that I have that I haven't merged into my current branch. git tag doesn't have such an option, is there a way to achieve something similar listing tags that point to commits that aren't in my history? Background: In my $DAYJOB