* Annoated tag not found on git describe
@ 2010-10-27 18:00 Jan Engelhardt
2010-10-27 18:19 ` Mathias Lafeldt
0 siblings, 1 reply; 4+ messages in thread
From: Jan Engelhardt @ 2010-10-27 18:00 UTC (permalink / raw)
To: git
Hi,
in the linux-manpages repository at
git://git.kernel.org/pub/scm/docs/man-pages/man-pages , running git
describe on the current HEAD (8482c7b836) produces
fatal: No annotated tags can describe
'8482c7b836a66f874e7dfea9c35fee4a82ad817b'.
However, there were unannotated tags: try --tags.
Which seems strange, given there is an annotated tag:
(.git/refs/packed-refs)
45aba08f23aea4baf9ff5603cb5ec4ce148be2cc refs/tags/man-pages-3.29
^80786722b116f5002c28e9e0200044f825b236f6
==>
object 80786722b116f5002c28e9e0200044f825b236f6
type commit
tag man-pages-3.29
tagger Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200
This is man-pages-3.29
commit 80786722b116f5002c28e9e0200044f825b236f6
tree 65ca9b696771fba53902a1342dc982066c9467e0
parent 435070082d2694737825491cc47973626f352645
author Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200
committer Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200
Ready for 3.29
So what caused git 1.7.1 to get confused here?
thanks,
Jan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Annoated tag not found on git describe
2010-10-27 18:00 Annoated tag not found on git describe Jan Engelhardt
@ 2010-10-27 18:19 ` Mathias Lafeldt
2010-10-27 19:24 ` Mathias Lafeldt
0 siblings, 1 reply; 4+ messages in thread
From: Mathias Lafeldt @ 2010-10-27 18:19 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: git
On 10/27/2010 08:00 PM, Jan Engelhardt wrote:
> Hi,
>
>
> in the linux-manpages repository at
> git://git.kernel.org/pub/scm/docs/man-pages/man-pages , running git
> describe on the current HEAD (8482c7b836) produces
>
> fatal: No annotated tags can describe
> '8482c7b836a66f874e7dfea9c35fee4a82ad817b'.
> However, there were unannotated tags: try --tags.
>
> Which seems strange, given there is an annotated tag:
>
> (.git/refs/packed-refs)
> 45aba08f23aea4baf9ff5603cb5ec4ce148be2cc refs/tags/man-pages-3.29
> ^80786722b116f5002c28e9e0200044f825b236f6
>
> ==>
> object 80786722b116f5002c28e9e0200044f825b236f6
> type commit
> tag man-pages-3.29
> tagger Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200
>
> This is man-pages-3.29
>
> commit 80786722b116f5002c28e9e0200044f825b236f6
> tree 65ca9b696771fba53902a1342dc982066c9467e0
> parent 435070082d2694737825491cc47973626f352645
> author Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200
> committer Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200
>
> Ready for 3.29
>
>
>
> So what caused git 1.7.1 to get confused here?
>
>
> thanks,
> Jan
Hi,
must have been fixed in a later version, as it works for me:
$ git describe
man-pages-3.29-49-g8409222
$ git --version
git version 1.7.3.2
-Mathias
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Annoated tag not found on git describe
2010-10-27 18:19 ` Mathias Lafeldt
@ 2010-10-27 19:24 ` Mathias Lafeldt
2010-10-27 19:55 ` Jan Engelhardt
0 siblings, 1 reply; 4+ messages in thread
From: Mathias Lafeldt @ 2010-10-27 19:24 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: git
On 10/27/2010 08:19 PM, Mathias Lafeldt wrote:
> On 10/27/2010 08:00 PM, Jan Engelhardt wrote:
>> Hi,
>>
>>
>> in the linux-manpages repository at
>> git://git.kernel.org/pub/scm/docs/man-pages/man-pages , running git
>> describe on the current HEAD (8482c7b836) produces
>>
>> fatal: No annotated tags can describe
>> '8482c7b836a66f874e7dfea9c35fee4a82ad817b'.
>> However, there were unannotated tags: try --tags.
>>
>> Which seems strange, given there is an annotated tag:
>>
>> (.git/refs/packed-refs)
>> 45aba08f23aea4baf9ff5603cb5ec4ce148be2cc refs/tags/man-pages-3.29
>> ^80786722b116f5002c28e9e0200044f825b236f6
>>
>> ==>
>> object 80786722b116f5002c28e9e0200044f825b236f6
>> type commit
>> tag man-pages-3.29
>> tagger Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200
>>
>> This is man-pages-3.29
>>
>> commit 80786722b116f5002c28e9e0200044f825b236f6
>> tree 65ca9b696771fba53902a1342dc982066c9467e0
>> parent 435070082d2694737825491cc47973626f352645
>> author Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200
>> committer Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200
>>
>> Ready for 3.29
>>
>>
>>
>> So what caused git 1.7.1 to get confused here?
>>
>>
>> thanks,
>> Jan
>
> Hi,
>
> must have been fixed in a later version, as it works for me:
>
> $ git describe
> man-pages-3.29-49-g8409222
>
> $ git --version
> git version 1.7.3.2
>
> -Mathias
Forget about my first answer.
git-describe shows the most recent tag that is reachable from a commit, but
80786722b116f5002c28e9e0200044f825b236f6 isn't reachable when your HEAD is
at 8482c7b836a66f874e7dfea9c35fee4a82ad817b.
As git says, there's only an unannotated tag:
$ git describe
fatal: No annotated tags can describe '8482c7b836a66f874e7dfea9c35fee4a82ad817b'.
However, there were unannotated tags: try --tags.
$ git describe --tags
man-pages-2.25-30-g8482c7b
-Mathias
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Annoated tag not found on git describe
2010-10-27 19:24 ` Mathias Lafeldt
@ 2010-10-27 19:55 ` Jan Engelhardt
0 siblings, 0 replies; 4+ messages in thread
From: Jan Engelhardt @ 2010-10-27 19:55 UTC (permalink / raw)
To: Mathias Lafeldt; +Cc: git
On Wednesday 2010-10-27 21:24, Mathias Lafeldt wrote:
>>> in the linux-manpages repository at
>>> git://git.kernel.org/pub/scm/docs/man-pages/man-pages , running git
>>> describe on the current HEAD (8482c7b836) produces
>>>
>>> fatal: No annotated tags can describe
>>> '8482c7b836a66f874e7dfea9c35fee4a82ad817b'.
>>> However, there were unannotated tags: try --tags.
>
>Forget about my first answer.
>
>git-describe shows the most recent tag that is reachable from a commit, but
>80786722b116f5002c28e9e0200044f825b236f6 isn't reachable when your HEAD is
>at 8482c7b836a66f874e7dfea9c35fee4a82ad817b.
Ah damn, I jumped around with git checkout before, creating detached heads.
All right, false alarm, but thanks for the heads up.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-27 19:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-27 18:00 Annoated tag not found on git describe Jan Engelhardt
2010-10-27 18:19 ` Mathias Lafeldt
2010-10-27 19:24 ` Mathias Lafeldt
2010-10-27 19:55 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).