Notes API: write_notes_tree(): Store the notes tree in the database
commit61a7cca0c6504aee7bae7837582230561bdb81d4
authorJohan Herland <johan@herland.net>
Sat, 13 Feb 2010 21:28:17 +0000 (13 22:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 14 Feb 2010 03:36:12 +0000 (13 19:36 -0800)
tree34ffa32a8f330b3dbde72af5f0cb560ada39ebc7
parent73f77b909f87fcaece42ec50d8d0c1c35efbf947
Notes API: write_notes_tree(): Store the notes tree in the database

Uses for_each_note() to traverse the notes tree, and produces tree
objects on the fly representing the "on-disk" version of the notes
tree with appropriate fanout.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes.c
notes.h