]> git.armaanb.net Git - stagit.git/commit
optimization: only diff the tree when it is needed for the diffstat...
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 18 Mar 2018 14:34:37 +0000 (15:34 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 18 Mar 2018 14:34:37 +0000 (15:34 +0100)
commitf53f481b3f02431b151ae9953998d7c7b3138585
treeb399494c308d5114a3a4156603ccf52716b609d5
parent20c37e4fe4bfef13642542f3fa15aa73c92a037c
optimization: only diff the tree when it is needed for the diffstat...

... also clear all fields in the structure on failure.

This is not as big an optimization as stagit-gopher, because the diffstat is
displayed in the log, but the difference is still measurable.
stagit.c