* git describe oddity: ignoring recent tags...
@ 2009-11-23 12:01 Martin Langhoff
2009-11-23 12:30 ` Björn Steinbrink
0 siblings, 1 reply; 4+ messages in thread
From: Martin Langhoff @ 2009-11-23 12:01 UTC (permalink / raw)
To: Git Mailing List
Clone this repo: git://dev.laptop.org/projects/olpc-update -- or just
check visually the recent history here
http://dev.laptop.org/git/projects/olpc-update/log/
git describe origin/master will respond olpc-update-2.16-20-g2d4e4b8
when it is fairly clear to me that it should be
olpc-update-2.19-1g<hash>.
For some reason, recent tags are being ignored -- and cgit even
displays them differently in
http://dev.laptop.org/git/projects/olpc-update/log/ though it is
unclear to me why.
These tags are not 'lightweight', and no tags are signed either.
Passing --tags and --debug has not helped much.
Tested with 1.6.0.6 (Fedora 9 rpm) and 1.6.3.1.26.gf5b223 (on Karmic).
m
--
martin.langhoff@gmail.com
martin@laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git describe oddity: ignoring recent tags...
2009-11-23 12:01 git describe oddity: ignoring recent tags Martin Langhoff
@ 2009-11-23 12:30 ` Björn Steinbrink
2009-11-23 12:38 ` Martin Langhoff
2009-11-23 12:39 ` Thomas Rast
0 siblings, 2 replies; 4+ messages in thread
From: Björn Steinbrink @ 2009-11-23 12:30 UTC (permalink / raw)
To: Martin Langhoff; +Cc: Git Mailing List
On 2009.11.23 13:01:51 +0100, Martin Langhoff wrote:
> Clone this repo: git://dev.laptop.org/projects/olpc-update -- or just
> check visually the recent history here
> http://dev.laptop.org/git/projects/olpc-update/log/
>
> git describe origin/master will respond olpc-update-2.16-20-g2d4e4b8
> when it is fairly clear to me that it should be
> olpc-update-2.19-1g<hash>.
>
> For some reason, recent tags are being ignored -- and cgit even
> displays them differently in
> http://dev.laptop.org/git/projects/olpc-update/log/ though it is
> unclear to me why.
>
> These tags are not 'lightweight', and no tags are signed either.
> Passing --tags and --debug has not helped much.
They are lightweight:
$ git cat-file -t olpc-update-2.19
commit
And using --tags "helps" here:
$ git describe
olpc-update-2.16-20-g2d4e4b8
$ git describe --tags
olpc-update-2.19-3-g2d4e4b8
Bjoern
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git describe oddity: ignoring recent tags...
2009-11-23 12:30 ` Björn Steinbrink
@ 2009-11-23 12:38 ` Martin Langhoff
2009-11-23 12:39 ` Thomas Rast
1 sibling, 0 replies; 4+ messages in thread
From: Martin Langhoff @ 2009-11-23 12:38 UTC (permalink / raw)
To: Björn Steinbrink; +Cc: Git Mailing List
2009/11/23 Björn Steinbrink <B.Steinbrink@gmx.de>:
> They are lightweight:
> $ git cat-file -t olpc-update-2.19
> commit
Hmmm. I thought a tag with a _message_ was not lightweight.
$ git tag -ln
...
olpc-update-2.16 Release 2.16
olpc-update-2.17 Release 2.17.
olpc-update-2.18 Rlease 2.18.
olpc-update-2.19 Release 2.19.
Argh... I see now - git tag is being helpful and showing the first
line of the commit msg instead of the tag msg, so I thought they were
full tags.
DWIM bites again! ;-(
> And using --tags "helps" here:
> $ git describe
> olpc-update-2.16-20-g2d4e4b8
>
> $ git describe --tags
> olpc-update-2.19-3-g2d4e4b8
Right. Doesn't make a difference with 1.6.0.6 but it does with
1.6.3.1.26.gf5b223
m
--
martin.langhoff@gmail.com
martin@laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git describe oddity: ignoring recent tags...
2009-11-23 12:30 ` Björn Steinbrink
2009-11-23 12:38 ` Martin Langhoff
@ 2009-11-23 12:39 ` Thomas Rast
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Rast @ 2009-11-23 12:39 UTC (permalink / raw)
To: Björn Steinbrink; +Cc: Martin Langhoff, Git Mailing List
Björn Steinbrink wrote:
> On 2009.11.23 13:01:51 +0100, Martin Langhoff wrote:
> > git describe origin/master will respond olpc-update-2.16-20-g2d4e4b8
> > when it is fairly clear to me that it should be
> > olpc-update-2.19-1g<hash>.
[...]
> They are lightweight:
> $ git cat-file -t olpc-update-2.19
> commit
>
> And using --tags "helps" here:
> $ git describe
> olpc-update-2.16-20-g2d4e4b8
>
> $ git describe --tags
> olpc-update-2.19-3-g2d4e4b8
Note that Gits that do not have 7e425c4 (describe: Make --tags and
--all match lightweight tags more often, 2008-10-13; first released in
1.6.1) will prefer the annotated tag over the unannotated ones even
with --tags, which explains your observation
> > For some reason, recent tags are being ignored -- and cgit even
> > displays them differently in
> > http://dev.laptop.org/git/projects/olpc-update/log/ though it is
> > unclear to me why.
at least with the first Git version mentioned:
> > Tested with 1.6.0.6 (Fedora 9 rpm) and 1.6.3.1.26.gf5b223 (on Karmic).
--
Thomas Rast
trast@{inf,student}.ethz.ch
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-11-23 12:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 12:01 git describe oddity: ignoring recent tags Martin Langhoff
2009-11-23 12:30 ` Björn Steinbrink
2009-11-23 12:38 ` Martin Langhoff
2009-11-23 12:39 ` Thomas Rast
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox