diff options
author | Sam Vilain <sam@vilain.net> | 2009-12-20 00:55:13 +1300 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-12-21 02:32:48 -0800 |
commit | 7d944c3399c4145293d599e1ddc76d1ac0c1e118 (patch) | |
tree | 4850db3279150a4225b6d93c423c3f726aedee7d /t/t4013/diff.diff-tree_--pretty_--root_--patch-with-raw_initial | |
parent | git-svn: expand the svn mergeinfo test suite, highlighting some failures (diff) | |
download | tgif-7d944c3399c4145293d599e1ddc76d1ac0c1e118.tar.xz |
git-svn: memoize conversion of SVN merge ticket info to git commit ranges
Each time the svn mergeinfo ticket changes, we look it up in the rev_map;
when there are a lot of merged branches, this will result in many repeated
lookups of the same information for subsequent commits. Arrange the slow
part of the function so that it may be memoized, and memoize it. The more
expensive revision walking operation can be memoized separately.
[ew: changed "next" to "return" for function exit]
Signed-off-by: Sam Vilain <sam@vilain.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_--root_--patch-with-raw_initial')
0 files changed, 0 insertions, 0 deletions