summaryrefslogtreecommitdiff
path: root/t/t6023-merge-file.sh
diff options
context:
space:
mode:
authorLibravatar Sam Vilain <sam@vilain.net>2009-12-20 00:55:13 +1300
committerLibravatar Eric Wong <normalperson@yhbt.net>2009-12-21 02:32:48 -0800
commit7d944c3399c4145293d599e1ddc76d1ac0c1e118 (patch)
tree4850db3279150a4225b6d93c423c3f726aedee7d /t/t6023-merge-file.sh
parentgit-svn: expand the svn mergeinfo test suite, highlighting some failures (diff)
downloadtgif-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/t6023-merge-file.sh')
0 files changed, 0 insertions, 0 deletions