{"thread":{"id":"25563","subject":"Annoated tag not found on git describe","startedAt":"2010-10-27T18:00:51Z","lastAt":"2010-10-27T19:55:35Z","messageCount":4,"participants":["Jan Engelhardt","Mathias Lafeldt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"154562","messageId":"alpine.LNX.2.01.1010271957520.28381@obet.zrqbmnf.qr","threadId":"25563","inReplyTo":null,"subject":"Annoated tag not found on git describe","fromName":"Jan Engelhardt","fromEmail":"jengelh@medozas.de","sentAt":"2010-10-27T18:00:51Z","receivedAt":"2010-10-27T18:00:51Z","isPatch":false,"sender":{"key":"jengelh@medozas.de","avatar":null},"body":"Hi,\n\n\nin the linux-manpages repository at \ngit://git.kernel.org/pub/scm/docs/man-pages/man-pages , running git \ndescribe on the current HEAD (8482c7b836) produces\n\nfatal: No annotated tags can describe \n'8482c7b836a66f874e7dfea9c35fee4a82ad817b'.\nHowever, there were unannotated tags: try --tags.\n\nWhich seems strange, given there is an annotated tag:\n\n(.git/refs/packed-refs)\n45aba08f23aea4baf9ff5603cb5ec4ce148be2cc refs/tags/man-pages-3.29\n^80786722b116f5002c28e9e0200044f825b236f6\n\n==>\nobject 80786722b116f5002c28e9e0200044f825b236f6\ntype commit\ntag man-pages-3.29\ntagger Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200\n\nThis is man-pages-3.29\n\ncommit 80786722b116f5002c28e9e0200044f825b236f6\ntree 65ca9b696771fba53902a1342dc982066c9467e0\nparent 435070082d2694737825491cc47973626f352645\nauthor Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200\ncommitter Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200\n\n    Ready for 3.29\n\n\n\nSo what caused git 1.7.1 to get confused here?\n\n\nthanks,\nJan\n"},{"id":"154564","messageId":"4CC86D42.20008@debugon.org","threadId":"25563","inReplyTo":"alpine.LNX.2.01.1010271957520.28381@obet.zrqbmnf.qr","subject":"Re: Annoated tag not found on git describe","fromName":"Mathias Lafeldt","fromEmail":"misfire@debugon.org","sentAt":"2010-10-27T18:19:46Z","receivedAt":"2010-10-27T18:19:46Z","isPatch":false,"sender":{"key":"misfire@debugon.org","avatar":"https://avatars.githubusercontent.com/u/158074?v=4"},"body":"On 10/27/2010 08:00 PM, Jan Engelhardt wrote:\n> Hi,\n> \n> \n> in the linux-manpages repository at \n> git://git.kernel.org/pub/scm/docs/man-pages/man-pages , running git \n> describe on the current HEAD (8482c7b836) produces\n> \n> fatal: No annotated tags can describe \n> '8482c7b836a66f874e7dfea9c35fee4a82ad817b'.\n> However, there were unannotated tags: try --tags.\n> \n> Which seems strange, given there is an annotated tag:\n> \n> (.git/refs/packed-refs)\n> 45aba08f23aea4baf9ff5603cb5ec4ce148be2cc refs/tags/man-pages-3.29\n> ^80786722b116f5002c28e9e0200044f825b236f6\n> \n> ==>\n> object 80786722b116f5002c28e9e0200044f825b236f6\n> type commit\n> tag man-pages-3.29\n> tagger Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200\n> \n> This is man-pages-3.29\n> \n> commit 80786722b116f5002c28e9e0200044f825b236f6\n> tree 65ca9b696771fba53902a1342dc982066c9467e0\n> parent 435070082d2694737825491cc47973626f352645\n> author Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200\n> committer Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200\n> \n>     Ready for 3.29\n> \n> \n> \n> So what caused git 1.7.1 to get confused here?\n> \n> \n> thanks,\n> Jan\n\nHi,\n\nmust have been fixed in a later version, as it works for me:\n\n$ git describe \nman-pages-3.29-49-g8409222\n\n$ git --version \ngit version 1.7.3.2\n\n-Mathias\n"},{"id":"154569","messageId":"4CC87C61.9060806@debugon.org","threadId":"25563","inReplyTo":"4CC86D42.20008@debugon.org","subject":"Re: Annoated tag not found on git describe","fromName":"Mathias Lafeldt","fromEmail":"misfire@debugon.org","sentAt":"2010-10-27T19:24:17Z","receivedAt":"2010-10-27T19:24:17Z","isPatch":false,"sender":{"key":"misfire@debugon.org","avatar":"https://avatars.githubusercontent.com/u/158074?v=4"},"body":"On 10/27/2010 08:19 PM, Mathias Lafeldt wrote:\n> On 10/27/2010 08:00 PM, Jan Engelhardt wrote:\n>> Hi,\n>>\n>>\n>> in the linux-manpages repository at \n>> git://git.kernel.org/pub/scm/docs/man-pages/man-pages , running git \n>> describe on the current HEAD (8482c7b836) produces\n>>\n>> fatal: No annotated tags can describe \n>> '8482c7b836a66f874e7dfea9c35fee4a82ad817b'.\n>> However, there were unannotated tags: try --tags.\n>>\n>> Which seems strange, given there is an annotated tag:\n>>\n>> (.git/refs/packed-refs)\n>> 45aba08f23aea4baf9ff5603cb5ec4ce148be2cc refs/tags/man-pages-3.29\n>> ^80786722b116f5002c28e9e0200044f825b236f6\n>>\n>> ==>\n>> object 80786722b116f5002c28e9e0200044f825b236f6\n>> type commit\n>> tag man-pages-3.29\n>> tagger Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200\n>>\n>> This is man-pages-3.29\n>>\n>> commit 80786722b116f5002c28e9e0200044f825b236f6\n>> tree 65ca9b696771fba53902a1342dc982066c9467e0\n>> parent 435070082d2694737825491cc47973626f352645\n>> author Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200\n>> committer Michael Kerrisk <mtk.manpages@gmail.com> 1287508632 +0200\n>>\n>>     Ready for 3.29\n>>\n>>\n>>\n>> So what caused git 1.7.1 to get confused here?\n>>\n>>\n>> thanks,\n>> Jan\n> \n> Hi,\n> \n> must have been fixed in a later version, as it works for me:\n> \n> $ git describe \n> man-pages-3.29-49-g8409222\n> \n> $ git --version \n> git version 1.7.3.2\n> \n> -Mathias\n\nForget about my first answer.\n\ngit-describe shows the most recent tag that is reachable from a commit, but\n80786722b116f5002c28e9e0200044f825b236f6 isn't reachable when your HEAD is\nat 8482c7b836a66f874e7dfea9c35fee4a82ad817b.\n\nAs git says, there's only an unannotated tag:\n\n$ git describe \nfatal: No annotated tags can describe '8482c7b836a66f874e7dfea9c35fee4a82ad817b'.\nHowever, there were unannotated tags: try --tags.\n\n$ git describe --tags \nman-pages-2.25-30-g8482c7b\n\n-Mathias\n"},{"id":"154572","messageId":"alpine.LNX.2.01.1010272154210.23548@obet.zrqbmnf.qr","threadId":"25563","inReplyTo":"4CC87C61.9060806@debugon.org","subject":"Re: Annoated tag not found on git describe","fromName":"Jan Engelhardt","fromEmail":"jengelh@medozas.de","sentAt":"2010-10-27T19:55:35Z","receivedAt":"2010-10-27T19:55:35Z","isPatch":false,"sender":{"key":"jengelh@medozas.de","avatar":null},"body":"\nOn Wednesday 2010-10-27 21:24, Mathias Lafeldt wrote:\n>>> in the linux-manpages repository at \n>>> git://git.kernel.org/pub/scm/docs/man-pages/man-pages , running git \n>>> describe on the current HEAD (8482c7b836) produces\n>>>\n>>> fatal: No annotated tags can describe \n>>> '8482c7b836a66f874e7dfea9c35fee4a82ad817b'.\n>>> However, there were unannotated tags: try --tags.\n>\n>Forget about my first answer.\n>\n>git-describe shows the most recent tag that is reachable from a commit, but\n>80786722b116f5002c28e9e0200044f825b236f6 isn't reachable when your HEAD is\n>at 8482c7b836a66f874e7dfea9c35fee4a82ad817b.\n\nAh damn, I jumped around with git checkout before, creating detached heads.\nAll right, false alarm, but thanks for the heads up.\n"}]}