Re: [PATCH v6 12/13] notes: track whether notes_trees were changed at all
On Wednesday 10 March 2010, Thomas Rast wrote:
Show 8 quoted lines
> 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 <trast@student.ethz.ch>Acked-by: Johan Herland <johan@herland.net>
--
Johan Herland, <johan@herland.net>
www.herland.net