* Whats happening with git-notes?
@ 2008-11-20 12:12 Tim Ansell
2008-11-20 13:12 ` Johannes Schindelin
2008-11-20 16:39 ` Jeff King
0 siblings, 2 replies; 4+ messages in thread
From: Tim Ansell @ 2008-11-20 12:12 UTC (permalink / raw)
To: git
Hey guys,
I was just wondering what is happening with git notes stuff? I really
like the idea of being able to annotate commits with various
information.
After the gittogether it sounded like we had a solid proposal and
possible implementation, has anything happened since then? I had a quick
look over the archives but didn't seem much mention of them in the last
couple of weeks.
Thanks for your help.
Tim 'mithro' Ansell
PS I'm going to try harder to find the time to continue to work on the
git-media cloning stuff, been a bit snowed under at work.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Whats happening with git-notes?
2008-11-20 12:12 Whats happening with git-notes? Tim Ansell
@ 2008-11-20 13:12 ` Johannes Schindelin
2008-11-20 16:51 ` Jeff King
2008-11-20 16:39 ` Jeff King
1 sibling, 1 reply; 4+ messages in thread
From: Johannes Schindelin @ 2008-11-20 13:12 UTC (permalink / raw)
To: Tim Ansell; +Cc: git
Hi,
On Thu, 20 Nov 2008, Tim Ansell wrote:
> I was just wondering what is happening with git notes stuff? I really
> like the idea of being able to annotate commits with various
> information.
>
> After the gittogether it sounded like we had a solid proposal and
> possible implementation, has anything happened since then? I had a quick
> look over the archives but didn't seem much mention of them in the last
> couple of weeks.
>
> Thanks for your help.
>
> Tim 'mithro' Ansell
> PS I'm going to try harder to find the time to continue to work on the
> git-media cloning stuff, been a bit snowed under at work.
The same goes on here. I wanted to take Peff's idea -- that hadn't
occurred to me back when I tried to help Johan with his notes idea --
which is to read in the whole notes tree into a singleton when needed, and
incorporate it into my existing test framework.
Maybe I'll find time later today.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Whats happening with git-notes?
2008-11-20 12:12 Whats happening with git-notes? Tim Ansell
2008-11-20 13:12 ` Johannes Schindelin
@ 2008-11-20 16:39 ` Jeff King
1 sibling, 0 replies; 4+ messages in thread
From: Jeff King @ 2008-11-20 16:39 UTC (permalink / raw)
To: Tim Ansell; +Cc: git
On Thu, Nov 20, 2008 at 11:12:42PM +1100, Tim Ansell wrote:
> I was just wondering what is happening with git notes stuff? I really
> like the idea of being able to annotate commits with various
> information.
It's on my todo list, but I doubt I will get to it for at least another
week. For what was said since then, try this thread:
http://thread.gmane.org/gmane.comp.version-control.git/100533
and this message from another thread:
http://article.gmane.org/gmane.comp.version-control.git/100402
-Peff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Whats happening with git-notes?
2008-11-20 13:12 ` Johannes Schindelin
@ 2008-11-20 16:51 ` Jeff King
0 siblings, 0 replies; 4+ messages in thread
From: Jeff King @ 2008-11-20 16:51 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: Tim Ansell, git
On Thu, Nov 20, 2008 at 02:12:54PM +0100, Johannes Schindelin wrote:
> The same goes on here. I wanted to take Peff's idea -- that hadn't
> occurred to me back when I tried to help Johan with his notes idea --
> which is to read in the whole notes tree into a singleton when needed, and
> incorporate it into my existing test framework.
>
> Maybe I'll find time later today.
In case you do work on it, let me quickly communicate the two thoughts I
have had since the GitTogether (and you can feel free to ignore them,
but I want to try to say them before you code something differently,
so you at least have the _choice_ of ignoring them. :) ).
One is some thoughts on naming, which I already articulated here:
http://article.gmane.org/gmane.comp.version-control.git/100402
The other is on speeding up tree lookup. I think the "notes as a git
tree" is sound, but as we obviously realized, somewhat slow. So the
"speeding up notes" code is really about "speeding up tree lookup". And
while it would be nice for pack v4 to fix this for free, I don't think
we want to wait for that. And I think the "build a hash on the fly"
approach that I posted earlier is a sensible way to go.
_But_ where I think we should differ from that patch is that any notes
speedup should really be about a generic interface for speeding up tree
lookup. That is, it should come in the generic form of:
void tree_study(struct tree_study_context *c, struct tree *tree);
void tree_study_lookup(struct tree_study_context *c, const char *name);
where "tree_study" spends some cycles to make "tree_study_lookup" much
faster. And obviously most tree lookups wouldn't want to make this
tradeoff, but there may be a few other places that look in the same tree
several times, and we can benchmark them to see if they benefit. And if
and when faster non-studied tree lookup comes about, we can adjust the
tree studying algorithm easily.
-Peff
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-20 16:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 12:12 Whats happening with git-notes? Tim Ansell
2008-11-20 13:12 ` Johannes Schindelin
2008-11-20 16:51 ` Jeff King
2008-11-20 16:39 ` Jeff King
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.