On Mon, Aug 19, 2013 at 10:13 AM, Francis Moreau <francis.moro@xxxxxxxxx> wrote: > Hello, > > Is it possible to keep submodules notes in the super project ? Not easily. I guess it depends on what you want to use the notes for. In order for notes to be generally useful (i.e. show up in logs, surviving a notes prune, etc.) they really must reside in the same repo as the annotated objects [1]. Now, if all your interaction with notes happens through scripts that you control, then I guess it would be possible to hack this in some sort of semi-workable way, but you would still have to make sure never to run "git notes prune" in the super project. I guess the real question here is: Why would you want to do this? and is there maybe some other way your use case can be accomodated? ...Johan [1]: If you were to annotate objects in a submodule, but then store the notes objects in the super project, it would be impossible for "git log" in the submodule to find the notes objects, and your log would show no notes. Similarly, a "git log" in the super project would see a lot of notes objects pointing to non-existing objects (because those objects live in the submodule), hence the notes objects would be removed when running "git notes prune" in the super project. -- 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