NAME

Config::GitLike::Git - load Git configuration files

SYNOPSIS

use Config::GitLike::Git;
my $config = Config::GitLike::Git->new;

DESCRIPTION

This is a modification of Config::GitLike to look at the same locations that Git writes to. Unlike with Config::GitLike, you do not need to pass a confname to its constructor. This module also enables the Config::GitLike option to maintain git compatibility when reading and writing variables.

METHODS

This module overrides these methods from Config::GitLike:

dir_file

The per-directory configuration file is .git/config

user_file

The per-user configuration file is ~/.gitconfig

global_file

The per-host configuration file is /etc/gitconfig

SEE ALSO

Config::GitLike

LICENSE

You may modify and/or redistribute this software under the same terms as Perl 5.8.8.

COPYRIGHT

Copyright 2009 Best Practical Solutions, LLC

AUTHORS

Alex Vandiver <alexmv@bestpractical.com>, Christine Spang <spang@bestpractical.com>