1PublicInbox::Git(3) User Contributed Perl Documentation PublicInbox::Git(3)
2
3
4
6 PublicInbox::Git - git wrapper
7
9 version 1.0
10
12 use PublicInbox::Git;
13 chomp(my $git_dir = `git rev-parse --git-dir`);
14 $git_dir or die "GIT_DIR= must be specified\n";
15 my $git = PublicInbox::Git->new($git_dir);
16
18 Unstable API outside of the "new" method. It requires git(1) to be
19 installed.
20
22 new
23 my $git = PublicInbox::Git->new($git_dir);
24
25 Initialize a new PublicInbox::Git object for use with
26 PublicInbox::Import This is the only public API method we support.
27 Everything else in this module is subject to change.
28
30 Git, PublicInbox::Import
31
33 All feedback welcome via plain-text mail to
34 <mailto:meta@public-inbox.org>
35
36 The mail archives are hosted at <https://public-inbox.org/meta/>
37
39 Copyright (C) 2016 all contributors <mailto:meta@public-inbox.org>
40
41 License: AGPL-3.0+ <http://www.gnu.org/licenses/agpl-3.0.txt>
42
43
44
45perl v5.36.0 2022-08-27 PublicInbox::Git(3)