git-svn: stop repeatedly reusing the first commit message with dcommit
authorEric Wong <normalperson@yhbt.net>
Sat, 26 Aug 2006 16:52:25 +0000 (09:52 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 27 Aug 2006 00:54:15 +0000 (17:54 -0700)
Excessive use of global variables got me into trouble.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl
index 9382a15044987fd97bfc659b2b0ed6eba334af1a..0290850b6639b4865d0941089d00a8c2ac5de366 100755 (executable)
@@ -819,6 +819,7 @@ sub commit_diff {
        } else {
                $ed->close_edit;
        }
+       $_message = $_file = undef;
 }
 
 ########################### utility functions #########################