git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] cvsexportcommit: get rid of temporary directory

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 15, 2007, 22:32 UTC
Message-ID
<Pine.LNX.4.64.0710152332230.25221@racer.site>

Since commit e86ad71fe5f53ae4434566bd09ea4256090e5a3a we do not use a temporary directory in cvsexportcommit. So there is no need to set one up.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 git-cvsexportcommit.perl |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index a33fa8d..6b0123c 100755
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
@@ -30,11 +30,6 @@ if ($opt_d) {
 	@cvs = ('cvs');
 }
 
-# setup a tempdir
-our ($tmpdir, $tmpdirname) = tempdir('git-cvsapplycommit-XXXXXX',
-				     TMPDIR => 1,
-				     CLEANUP => 1);
-
 # resolve target commit
 my $commit;
 $commit = pop @ARGV;
-- 
1.5.3.4.1174.gcd0d6-dirty
Next: Robin Rosenberg
Message 1 of 2 in “cvsexportcommit: get rid of temporary directory”
  1. cvsexportcommit: get rid of temporary directoryJohannes Schindelin, Oct 15, 2007
  2. Robin RosenbergOct 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.