Rechercher une page de manuel
Config::GitLike::Git.3pm
Langue: en
Version: 2010-04-03 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Config::GitLike::Git - load Git configuration filesSYNOPSIS
use Config::GitLike::Git; my $config = Config::GitLike::Git->new; $config->load("/path/to/repo");
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.``load'' in Config::GitLike should be passed path to the top level of a git repository --- this defaults to the current directory. It will append ".git" as necessary. It supports both bare and non-bare repositories.
METHODS
This module overrides these methods from "Config::GitLike":dir_file
The per-directory configuration file is .git/configuser_file
The per-user configuration file is ~/.gitconfigglobal_file
The per-host configuration file is /etc/gitconfigSEE ALSO
Config::GitLikeLICENSE
You may modify and/or redistribute this software under the same terms as Perl 5.8.8.COPYRIGHT
Copyright 2010 Best Practical Solutions, LLCAUTHORS
Alex Vandiver <alexmv@bestpractical.com>, Christine Spang <spang@bestpractical.com>Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre