OSDN Git Service

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 9382a15..0290850 100755 (executable)
@@ -819,6 +819,7 @@ sub commit_diff {
        } else {
                $ed->close_edit;
        }
+       $_message = $_file = undef;
 }
 
 ########################### utility functions #########################