cvsexportcommit: get rid of temporary directory
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Mon, 15 Oct 2007 22:32:45 +0000 (23:32 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 16 Oct 2007 05:19:25 +0000 (01:19 -0400)
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>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-cvsexportcommit.perl

index a33fa8d4c86da54a4d741cf921d1cf7b2138d186..6b0123c75f261744324e678ef76fcc8778a606fc 100755 (executable)
@@ -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;