Thread (37 messages) flat view 37 messages, 4 authors, 2016-06-15

Re: [PATCH v6 12/13] notes: track whether notes_trees were changed at all

From: Johan Herland <hidden>
Date: 2016-06-15 22:48:25

On Wednesday 10 March 2010, Thomas Rast wrote:
Currently, the notes copying is a bit wasteful since it always creates
new trees, even if no notes were copied at all.

Teach add_note() and remove_note() to flag the affected notes tree as
changed ('dirty').  Then teach builtin/notes.c to use this knowledge
and avoid committing trees that weren't changed.

Signed-off-by: Thomas Rast <redacted>
Acked-by: Johan Herland <redacted>


-- 
Johan Herland, [off-list ref]
www.herland.net
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help