Move Git::SVN::get_tz to Git::get_tz_offset
authorBen Walton <bdwalton@gmail.com>
Sat, 9 Feb 2013 21:46:56 +0000 (21:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 9 Feb 2013 22:01:28 +0000 (14:01 -0800)
commit68868ff57348b7ae351890b3599949422d2e6001
tree78b31a635b9a118c9e207f41e2dc2ef680ae109c
parentf3500825257b441134bd99b08bab3b6fd1cb4f51
Move Git::SVN::get_tz to Git::get_tz_offset

This function has utility outside of the SVN module for any routine
that needs the equivalent of GNU strftime's %z formatting option.
Move it to the top-level Git.pm so that non-SVN modules don't need to
import the SVN module to use it.

The rename makes the purpose of the function clearer.

Signed-off-by: Ben Walton <bdwalton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Git.pm
perl/Git/SVN.pm
perl/Git/SVN/Log.pm