diff options
author | Eric Wong <e@80x24.org> | 2019-01-27 00:21:51 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-01-27 00:21:51 +0000 |
commit | 8a7653c1e4b1305b95db7e65c7ad00d2a50bbce1 (patch) | |
tree | cfb084fdf3159ac2349f0a2ff4694b2fe0c110e1 /lib/PublicInbox/Git.pm | |
parent | fffbc9ec32b78731acd30539f6e3f2778d2d1fb2 (diff) | |
download | public-inbox-8a7653c1e4b1305b95db7e65c7ad00d2a50bbce1.tar.gz |
We can avoid bumping up RLIMIT_NOFILE too much by storing patches in a temporary directory. And we can share this top-level directory with our temporary git repository. Since we no longer rely on a working-tree for git, we are free to rearrange the layout and avoid relying on the ".git" convention and relying on "git -C" for chdir. This may also ease porting public-inbox to older systems where git does not support "-C" for chdir.
Diffstat (limited to 'lib/PublicInbox/Git.pm')
-rw-r--r-- | lib/PublicInbox/Git.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Git.pm b/lib/PublicInbox/Git.pm index a0b934a3..3ad08112 100644 --- a/lib/PublicInbox/Git.pm +++ b/lib/PublicInbox/Git.pm @@ -50,7 +50,7 @@ sub new { my ($class, $git_dir) = @_; my @st; $st[7] = $st[10] = 0; - # may contain {-wt} field (working-tree (File::Temp::Dir)) + # may contain {-tmp} field for File::Temp::Dir bless { git_dir => $git_dir, st => \@st }, $class } |