Re: Re: Unify annotated and non-annotated tags

2017-12-24 Thread Philip Oakley
From: "anatoly techtonik" From: Philip Oakley > So if I understand correctly, the hope is that `git show-ref --tags` > could > get an alternate option `--all-tags` [proper option name required...] > such > that the user would not have to develop the rather over the

Re: Re: Unify annotated and non-annotated tags

2017-12-23 Thread anatoly techtonik
: >> >> On Fri, Nov 24, 2017 at 10:52 AM, anatoly techtonik <techto...@gmail.com> >> wrote: >>> >>> On Thu, Nov 23, 2017 at 6:08 PM, Randall S. Becker >>> <rsbec...@nexbridge.com> wrote: >>>> >>>> On 2017-11-23 02:31 (GMT-05

Re: Unify annotated and non-annotated tags

2017-12-23 Thread anatoly techtonik
On Sat, Nov 11, 2017 at 5:06 AM, Junio C Hamano wrote: > Igor Djordjevic writes: > >> If you would like to mimic output of "git show-ref", repeating >> commits for each tag pointing to it and showing full tag name as >> well, you could do something

Re: Unify annotated and non-annotated tags

2017-12-02 Thread Junio C Hamano
anatoly techtonik writes: >> Git is not doomed to preserve anything forever. We've gradually broken >> backwards compatibility for a few core things like these. >> >> However, just as a bystander reading this thread I haven't seen any >> compelling reason for why these

Re: Re: Unify annotated and non-annotated tags

2017-12-02 Thread Philip Oakley
PM, Randall S. Becker <rsbec...@nexbridge.com> wrote: On 2017-11-23 02:31 (GMT-05:00) anatoly techtonik wrote Subject: Re: Unify annotated and non-annotated tags On Sat, Nov 11, 2017 at 5:06 AM, Junio C Hamano <gits...@pobox.com> wrote: Igor Djordjevic <igor.d.djordje...@gmai

Re: Re: Unify annotated and non-annotated tags

2017-12-02 Thread anatoly techtonik
: >>> On 2017-11-23 02:31 (GMT-05:00) anatoly techtonik wrote >>>>Subject: Re: Unify annotated and non-annotated tags >>>>On Sat, Nov 11, 2017 at 5:06 AM, Junio C Hamano <gits...@pobox.com> wrote: >>>>> Igor Djordjevic <igor.d.djordje...@g

RE: Re: Unify annotated and non-annotated tags

2017-11-24 Thread Randall S. Becker
On November 24, 2017 4:52 AM anatoly techtonik wrote: >On Thu, Nov 23, 2017 at 6:08 PM, Randall S. Becker <rsbec...@nexbridge.com> >wrote: >> On 2017-11-23 02:31 (GMT-05:00) anatoly techtonik wrote >>>Subject: Re: Unify annotated and non-annotated tags On Sat, Nov 11,

Re: Re: Unify annotated and non-annotated tags

2017-11-24 Thread Ævar Arnfjörð Bjarmason
On Fri, Nov 24, 2017 at 10:52 AM, anatoly techtonik <techto...@gmail.com> wrote: > On Thu, Nov 23, 2017 at 6:08 PM, Randall S. Becker > <rsbec...@nexbridge.com> wrote: >> On 2017-11-23 02:31 (GMT-05:00) anatoly techtonik wrote >>>Subject: Re: Unify annotated and

Re: Re: Unify annotated and non-annotated tags

2017-11-24 Thread anatoly techtonik
On Thu, Nov 23, 2017 at 6:08 PM, Randall S. Becker <rsbec...@nexbridge.com> wrote: > On 2017-11-23 02:31 (GMT-05:00) anatoly techtonik wrote >>Subject: Re: Unify annotated and non-annotated tags >>On Sat, Nov 11, 2017 at 5:06 AM, Junio C Hamano <gits...@pobox.com>

Re: Unify annotated and non-annotated tags

2017-11-23 Thread Thomas Braun
Am 23.11.2017 um 16:08 schrieb Randall S. Becker: [...] >> So my proposal is to get rid of non-annotated tags, so to get all >> tags with commits that they point to, one would use: >> git for-each-ref --format='%(*objectname) %(refname)' refs/tags> >> For so-called non-annotated tags just leave

RE: Re: Unify annotated and non-annotated tags

2017-11-23 Thread Randall S. Becker
On 2017-11-23 02:31 (GMT-05:00) anatoly techtonik wrote >Subject: Re: Unify annotated and non-annotated tags >On Sat, Nov 11, 2017 at 5:06 AM, Junio C Hamano <gits...@pobox.com> wrote: >> Igor Djordjevic <igor.d.djordje...@gmail.com> writes: >> >>> If you

Re: Unify annotated and non-annotated tags

2017-11-22 Thread anatoly techtonik
On Sat, Nov 11, 2017 at 5:06 AM, Junio C Hamano wrote: > Igor Djordjevic writes: > >> If you would like to mimic output of "git show-ref", repeating >> commits for each tag pointing to it and showing full tag name as >> well, you could do something

Re: Unify annotated and non-annotated tags

2017-11-10 Thread Igor Djordjevic
On 11/11/2017 03:06, Junio C Hamano wrote: > Igor Djordjevic writes: > >> If you would like to mimic output of "git show-ref", repeating >> commits for each tag pointing to it and showing full tag name as >> well, you could do something like this, for example: >>

Re: Unify annotated and non-annotated tags

2017-11-10 Thread Junio C Hamano
Igor Djordjevic writes: > If you would like to mimic output of "git show-ref", repeating > commits for each tag pointing to it and showing full tag name as > well, you could do something like this, for example: > > for tag in $(git for-each-ref

Re: Unify annotated and non-annotated tags

2017-11-10 Thread Igor Djordjevic
Hi Anatoly, On 10/11/2017 11:58, anatoly techtonik wrote: > It is hard to work with Git tags, because on low level hash > of non-annotated tag is pointing to commit, but hash for > annotated tag is pointing to tag metadata. > > On low level that means that there is no way to get commit > hash