libperl-git: refactor Git::config_*
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Oct 2011 09:47:01 +0000 (11:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Oct 2011 19:00:33 +0000 (12:00 -0700)
commit6942a3d796ce7a824bd9a69e88cf0a9578225bb2
treeaef28a298ef9e465bc226f3838f2cb799c90ba08
parentcec5dae827f2255578807be6214ece1e0619b8e1
libperl-git: refactor Git::config_*

Move common parts of Git::config(), Git::config_bool(), Git::config_int()
and Git::config_path() into _config_common() helper.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Git.pm