{"thread":{"id":"21726","subject":"git describe oddity: ignoring recent tags...","startedAt":"2009-11-23T12:01:51Z","lastAt":"2009-11-23T12:39:39Z","messageCount":4,"participants":["Martin Langhoff","Björn Steinbrink","Thomas Rast"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"128168","messageId":"46a038f90911230401sb2b1dd7u21b5d7edefe510eb@mail.gmail.com","threadId":"21726","inReplyTo":null,"subject":"git describe oddity: ignoring recent tags...","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2009-11-23T12:01:51Z","receivedAt":"2009-11-23T12:01:51Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"Clone this repo: git://dev.laptop.org/projects/olpc-update -- or just\ncheck visually the recent history here\nhttp://dev.laptop.org/git/projects/olpc-update/log/\n\ngit describe origin/master will respond olpc-update-2.16-20-g2d4e4b8\nwhen it is fairly clear to me that it should be\nolpc-update-2.19-1g<hash>.\n\nFor some reason, recent tags are being ignored -- and cgit even\ndisplays them differently in\nhttp://dev.laptop.org/git/projects/olpc-update/log/ though it is\nunclear to me why.\n\nThese tags are not 'lightweight', and no tags are signed either.\nPassing --tags and --debug has not helped much.\n\nTested with 1.6.0.6 (Fedora 9 rpm) and 1.6.3.1.26.gf5b223 (on Karmic).\n\n\n\nm\n-- \n martin.langhoff@gmail.com\n martin@laptop.org -- School Server Architect\n - ask interesting questions\n - don't get distracted with shiny stuff  - working code first\n - http://wiki.laptop.org/go/User:Martinlanghoff\n"},{"id":"128169","messageId":"20091123123048.GA10172@atjola.homenet","threadId":"21726","inReplyTo":"46a038f90911230401sb2b1dd7u21b5d7edefe510eb@mail.gmail.com","subject":"Re: git describe oddity: ignoring recent tags...","fromName":"Björn Steinbrink","fromEmail":"b.steinbrink@gmx.de","sentAt":"2009-11-23T12:30:48Z","receivedAt":"2009-11-23T12:30:48Z","isPatch":false,"sender":{"key":"b.steinbrink@gmx.de","avatar":"https://avatars.githubusercontent.com/u/230962?v=4"},"body":"On 2009.11.23 13:01:51 +0100, Martin Langhoff wrote:\n> Clone this repo: git://dev.laptop.org/projects/olpc-update -- or just\n> check visually the recent history here\n> http://dev.laptop.org/git/projects/olpc-update/log/\n> \n> git describe origin/master will respond olpc-update-2.16-20-g2d4e4b8\n> when it is fairly clear to me that it should be\n> olpc-update-2.19-1g<hash>.\n> \n> For some reason, recent tags are being ignored -- and cgit even\n> displays them differently in\n> http://dev.laptop.org/git/projects/olpc-update/log/ though it is\n> unclear to me why.\n> \n> These tags are not 'lightweight', and no tags are signed either.\n> Passing --tags and --debug has not helped much.\n\nThey are lightweight:\n$ git cat-file -t olpc-update-2.19\ncommit\n\nAnd using --tags \"helps\" here:\n$ git describe \nolpc-update-2.16-20-g2d4e4b8\n\n$ git describe --tags\nolpc-update-2.19-3-g2d4e4b8\n\nBjoern\n"},{"id":"128170","messageId":"46a038f90911230438m2c147b34nbd95cd74777f6be9@mail.gmail.com","threadId":"21726","inReplyTo":"20091123123048.GA10172@atjola.homenet","subject":"Re: git describe oddity: ignoring recent tags...","fromName":"Martin Langhoff","fromEmail":"martin.langhoff@gmail.com","sentAt":"2009-11-23T12:38:46Z","receivedAt":"2009-11-23T12:38:46Z","isPatch":false,"sender":{"key":"martin.langhoff@gmail.com","avatar":"https://gravatar.com/avatar/1e3f311b6c4c15836501901ca58f8c0b0667246488084ba524d8bc9867e22fd9?d=mp&s=160"},"body":"2009/11/23 Björn Steinbrink <B.Steinbrink@gmx.de>:\n> They are lightweight:\n> $ git cat-file -t olpc-update-2.19\n> commit\n\nHmmm. I thought a tag with a _message_ was not lightweight.\n\n$ git tag -ln\n...\nolpc-update-2.16 Release 2.16\nolpc-update-2.17 Release 2.17.\nolpc-update-2.18 Rlease 2.18.\nolpc-update-2.19 Release 2.19.\n\nArgh... I see now - git tag is being helpful and showing the first\nline of the commit msg instead of the tag msg, so I thought they were\nfull tags.\n\nDWIM bites again! ;-(\n\n> And using --tags \"helps\" here:\n> $ git describe\n> olpc-update-2.16-20-g2d4e4b8\n>\n> $ git describe --tags\n> olpc-update-2.19-3-g2d4e4b8\n\nRight. Doesn't make a difference with 1.6.0.6 but it does with\n1.6.3.1.26.gf5b223\n\n\n\nm\n-- \n martin.langhoff@gmail.com\n martin@laptop.org -- School Server Architect\n - ask interesting questions\n - don't get distracted with shiny stuff  - working code first\n - http://wiki.laptop.org/go/User:Martinlanghoff\n"},{"id":"128171","messageId":"200911231339.41290.trast@student.ethz.ch","threadId":"21726","inReplyTo":"20091123123048.GA10172@atjola.homenet","subject":"Re: git describe oddity: ignoring recent tags...","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2009-11-23T12:39:39Z","receivedAt":"2009-11-23T12:39:39Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"Björn Steinbrink wrote:\n> On 2009.11.23 13:01:51 +0100, Martin Langhoff wrote:\n> > git describe origin/master will respond olpc-update-2.16-20-g2d4e4b8\n> > when it is fairly clear to me that it should be\n> > olpc-update-2.19-1g<hash>.\n[...]\n> They are lightweight:\n> $ git cat-file -t olpc-update-2.19\n> commit\n> \n> And using --tags \"helps\" here:\n> $ git describe \n> olpc-update-2.16-20-g2d4e4b8\n> \n> $ git describe --tags\n> olpc-update-2.19-3-g2d4e4b8\n\nNote that Gits that do not have 7e425c4 (describe: Make --tags and\n--all match lightweight tags more often, 2008-10-13; first released in\n1.6.1) will prefer the annotated tag over the unannotated ones even\nwith --tags, which explains your observation\n\n> > For some reason, recent tags are being ignored -- and cgit even\n> > displays them differently in\n> > http://dev.laptop.org/git/projects/olpc-update/log/ though it is\n> > unclear to me why.\n\nat least with the first Git version mentioned:\n\n> > Tested with 1.6.0.6 (Fedora 9 rpm) and 1.6.3.1.26.gf5b223 (on Karmic).\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n"}]}