summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 12a296b)
raw | patch | inline | side by side (parent: 12a296b)
author | James Y Knight <jknight@itasoftware.com> | |
Mon, 4 Apr 2011 19:09:08 +0000 (15:09 -0400) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Sat, 9 Apr 2011 22:43:35 +0000 (22:43 +0000) |
Running programs is not cheap!
Signed-off-by: James Y Knight <jknight@itasoftware.com>
Signed-off-by: Alejandro R. SedeƱo <asedeno@mit.edu>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: James Y Knight <jknight@itasoftware.com>
Signed-off-by: Alejandro R. SedeƱo <asedeno@mit.edu>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index e5a553f0078fb87d6aab01a5ece4ff2ab94a1c89..bf0451b46835357af7811096538e9e7d75311166 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
use Getopt::Long qw/:config gnu_getopt no_ignore_case auto_abbrev/;
use IPC::Open3;
use Git;
+use Memoize; # core since 5.8.0, Jul 2002
BEGIN {
# import functions from Git into our packages, en masse
*{"${package}::$_"} = \&{"Git::$_"};
}
}
+ Memoize::memoize 'Git::config';
+ Memoize::memoize 'Git::config_bool';
}
my ($SVN);
Memoize::unmemoize 'check_cherry_pick';
Memoize::unmemoize 'has_no_changes';
}
+
+ Memoize::memoize 'Git::SVN::repos_root';
}
END {