about summary refs log tree commit homepage
path: root/lib/PublicInbox/Git.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-27 00:21:51 +0000
committerEric Wong <e@80x24.org>2019-01-27 00:21:51 +0000
commit8a7653c1e4b1305b95db7e65c7ad00d2a50bbce1 (patch)
treecfb084fdf3159ac2349f0a2ff4694b2fe0c110e1 /lib/PublicInbox/Git.pm
parentfffbc9ec32b78731acd30539f6e3f2778d2d1fb2 (diff)
downloadpublic-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.pm2
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
 }