git-svn: avoid redundant get_log calls between invocations