author | David D. Kilzer <ddkilzer@kilzer.net> | |
Wed, 21 Nov 2007 06:43:17 +0000 (22:43 -0800) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Thu, 22 Nov 2007 04:11:11 +0000 (20:11 -0800) | ||
commit | b2b3ada7fc46f6e43f065718cd64940811cd50b3 | |
tree | db16e7953776aef97e8d8d81b008ec402686eb74 | tree | snapshot |
parent | 8d92f24852420c425f3ee499d3c3be01be4dc15c | commit | diff |
git-svn: extract reusable code into utility functions
Extacted canonicalize_path() in the main package.
Created new Git::SVN::Util package with an md5sum() function. A
new package was created so that Digest::MD5 did not have to be
loaded in the main package. Replaced code in the SVN::Git::Editor
and SVN::Git::Fetcher packages with calls to md5sum().
Extracted the format_svn_date(), parse_git_date() and
set_local_timezone() functions within the Git::SVN::Log package.
Signed-off-by: David D. Kilzer <ddkilzer@kilzer.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
Extacted canonicalize_path() in the main package.
Created new Git::SVN::Util package with an md5sum() function. A
new package was created so that Digest::MD5 did not have to be
loaded in the main package. Replaced code in the SVN::Git::Editor
and SVN::Git::Fetcher packages with calls to md5sum().
Extracted the format_svn_date(), parse_git_date() and
set_local_timezone() functions within the Git::SVN::Log package.
Signed-off-by: David D. Kilzer <ddkilzer@kilzer.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | diff | blob | history |