From: Eric Wong Date: Sat, 26 Aug 2006 16:52:25 +0000 (-0700) Subject: git-svn: stop repeatedly reusing the first commit message with dcommit X-Git-Tag: v1.4.3-rc1~181 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5f641ccc69da1e0f2e3953f615cf592e83ec721b;p=git.git git-svn: stop repeatedly reusing the first commit message with dcommit Excessive use of global variables got me into trouble. Signed-off-by: Eric Wong Signed-off-by: Junio C Hamano --- diff --git a/git-svn.perl b/git-svn.perl index 9382a1504..0290850b6 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -819,6 +819,7 @@ sub commit_diff { } else { $ed->close_edit; } + $_message = $_file = undef; } ########################### utility functions #########################