Sverre Rabbelier <srabbelier@xxxxxxxxx> writes: > On Thu, Aug 27, 2009 at 20:02, Junio C Hamano<gitster@xxxxxxxxx> wrote: >> In such a case would you rather want to see the commit itself first, or at >> least, commit _and_ notes _together_? > > Assuming you do download all notes, I think it would be nice to be > able to read the note; and since there's no way to download the commit > separately it would require one to guess which head the commit belongs > to and fetch the entire branch...? Some random thoughts... * If there are very many branches (in the worst case, they are so many that the upstream uses the expand extention to serve the project), maybe the notes namespace will also have many branches. It is unclear how a user is expected to know which notes branch a note to a particular commit is to be found. * Perhaps to solve that problem, such a project may use notes in the corresponding "notes branch"? Then your assumption does not hold, as you first guess which notes branch to fetch to find the note that may not even exist for this issue to become a real problem. * If you assume all the notes are downloaded in such a project, you can still go through all the top-level trees (that are date based fan-out) and find the note to the commit object you do not have. At that point, it only becomes performance issue for an unusual case where you have a note but the commit the note applies to. -- 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