On Monday 28 May 2007, Michael S. Tsirkin wrote: > Quoting Michael S. Tsirkin <mst@xxxxxxxxxxxxxxxxxx>: > > Maybe note names could include the object they point to? > > Would this help with the scalability too (i.e. only get > > names for objects we want)? > > Hmm, I just noticed there's refs/notes/{object-sha}/{note-sha} > that does exactly that. So - this seems to be clear to everyone > else, but I seem to miss the reason why does this not scale well? > We can just get the notes for objects we pull, right? Currently, only "git-note -l" (and by extension gitk) uses the shortcut through refs/notes/{object-sha}/... The --decorate code and everybody else goes through for_each_note_ref() which looks up every note ref in the repo. ...Johan -- Johan Herland, <johan@xxxxxxxxxxx> www.herland.net - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html