Fix buggy ref recording
[gitweb.git] / git-svn.perl
index 9382a15044987fd97bfc659b2b0ed6eba334af1a..0290850b6639b4865d0941089d00a8c2ac5de366 100755 (executable)
@@ -819,6 +819,7 @@ sub commit_diff {
        } else {
                $ed->close_edit;
        }
+       $_message = $_file = undef;
 }
 
 ########################### utility functions #########################