From f751e083d200725f9a4f1d147138b8e57eb3b857 Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Tue, 25 Aug 2009 01:42:48 -0700 Subject: [PATCH] [commit-patch] Make sure we clean up the temp file when we get the patch through stdin. --- commit-patch | 1 + 1 file changed, 1 insertion(+) diff --git a/commit-patch b/commit-patch index a6d3117..6737940 100755 --- a/commit-patch +++ b/commit-patch @@ -130,6 +130,7 @@ if ($commit_patch) { } else { (my $p, $patch) = tempfile("commit-patch-patch-XXXXXXXX", UNLINK=>0); print $p $_ while (<>); + $clean{$patch} = undef; } } -- 2.51.2