Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

config::gitlike::git(3pm) [debian man page]

Config::GitLike::Git(3pm)				User Contributed Perl Documentation				 Config::GitLike::Git(3pm)

NAME
Config::GitLike::Git - load Git configuration files SYNOPSIS
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/config user_file The per-user configuration file is ~/.gitconfig global_file The per-host configuration file is /etc/gitconfig is_git_dir Returns true if a file contains the necessary files (as git would reckon it) for the path to be a git repository. load_dirs Loads the relevant .git/config file. SEE ALSO
Config::GitLike LICENSE
You may modify and/or redistribute this software under the same terms as Perl 5.8.8. COPYRIGHT
Copyright 2010 Best Practical Solutions, LLC AUTHORS
Alex Vandiver <alexmv@bestpractical.com>, Christine Spang <spang@bestpractical.com> perl v5.14.2 2012-02-16 Config::GitLike::Git(3pm)

Check Out this Related Man Page

Git::SVN::Editor(3)					User Contributed Perl Documentation				       Git::SVN::Editor(3)

NAME
Git::SVN::Editor - commit driver for "git svn set-tree" and dcommit SYNOPSIS
use Git::SVN::Editor; use Git::SVN::Ra; my $ra = Git::SVN::Ra->new($url); my %opts = ( r => 19, log => "log message", ra => $ra, config => SVN::Core::config_get_config($svn_config_dir), tree_a => "$commit^", tree_b => "$commit", editor_cb => sub { print "Committed r$_[0] "; }, mergeinfo => "/branches/foo:1-10", svn_path => "trunk" ); Git::SVN::Editor->new(\%opts)->apply_diff or print "No changes "; my $re = Git::SVN::Editor::glob2pat("trunk/*"); if ($branchname =~ /$re/) { print "matched! "; } DESCRIPTION
This module is an implementation detail of the "git svn" command. Do not use it unless you are developing git-svn. This module adapts the "SVN::Delta::Editor" object returned by "SVN::Delta::get_commit_editor" and drives it to convey the difference between two git tree objects to a remote Subversion repository. The interface will change as git-svn evolves. DEPENDENCIES
Subversion perl bindings, the core Carp and IO::File modules, and git's Git helper module. "Git::SVN::Editor" has not been tested using callers other than git-svn itself. SEE ALSO
SVN::Delta, Git::SVN::Fetcher. INCOMPATIBILITIES
None reported. BUGS
None. perl v5.16.3 2013-06-10 Git::SVN::Editor(3)
Man Page

10 More Discussions You Might Find Interesting

1. HP-UX

Config Files

Does anyone have a list of key config files and the respective paths for HP-UX? Or does anyone know where I can get a list similar to this? Thanks, TOdd (0 Replies)
Discussion started by: toddjameslane
0 Replies

2. Linux

Linux Redhat ES 4.0 - DNS Config Issues

(11 Replies)
Discussion started by: AbhijithS
11 Replies

3. Shell Programming and Scripting

Config Generation

I'm looking for good ways to handle config generation. I have been rolling my own for a few years now, but I'm wondering if there is a better way and would like to get some advice from anyone who has any ideas or experience in doing this. Here are some things I want to achieve in generating... (1 Reply)
Discussion started by: humbletech99
1 Replies

4. Shell Programming and Scripting

NEED HELP

Hi, I have a folder which contains multiple config.xml files and one input file, Please see the below format. Config Files format looks like :- <application name="SAMPLE-ARCHIVE"> <NVPairs name="Global Variables"> <NameValuePair> <name>MIG_Host</name> ... (3 Replies)
Discussion started by: haiksuresh
3 Replies

5. Shell Programming and Scripting

using perl config files

Hi, I have 2 perl SubRoutines (sub 1 and sub 2). I created two perl modules for these (Sub1.pm and Sub2.pm). How can I include these in a config file (say Config.cfg) and call the config file in my main script Rename.pl to use the 2 subroutines? Right now here are the content of Config.cfg... (1 Reply)
Discussion started by: CCFP
1 Replies

6. Shell Programming and Scripting

Help related to Script to move files depending on config values

Hi All, I am new to Unix scripting, I have requirement where I need to read the key value pair from config file. Sample Config file: Key(File Pattern) Value(File Directory location) test /Users/Bkumar/Downloads/testdir prod ... (1 Reply)
Discussion started by: sbpkumar7
1 Replies

7. Shell Programming and Scripting

Read Data from Config file using Perl

Hi All, Can anyone please explain me how to read data from config file in Perl. Suppose i have a config file named cfile. The data in config file is name=parth lname=mittal user=2007 hostname=fluoride username=parthmittal password=XXXXXX account=unix url=www.unix.com ... (2 Replies)
Discussion started by: parthmittal2007
2 Replies

8. Shell Programming and Scripting

.Config file in perl

Hi can anybody help me in how to read .config file in Perl, which module is used, and some help in coding. (10 Replies)
Discussion started by: parthmittal2007
10 Replies

9. UNIX for Dummies Questions & Answers

Generating a Config File

HI, I want to append some configuration statements to the existing file in unix to it's 3 line , 7th line and 28 line. There is a file generated by our system job, to this I need to add some lines as mentioned below. DIR=/usr/CDR - line 3 Source=/usr/src - line 7 Target=/usr/tgt - line... (2 Replies)
Discussion started by: mora
2 Replies

10. Shell Programming and Scripting

Read from file and split varialble

Hello Experts, Can anybody assist me in writing a code to do the following: I have a file present in the same directory from where this cod would run. The content of the file would be as below: Config Filename: config_details.txt Format: Server_prefix,IP_of_server,username, password,... (1 Reply)
Discussion started by: chetanojha
1 Replies