summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 163d7b9)
raw | patch | inline | side by side (parent: 163d7b9)
author | Gerrit Pape <pape@smarden.org> | |
Wed, 28 Feb 2007 12:35:39 +0000 (12:35 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 28 Feb 2007 18:22:50 +0000 (10:22 -0800) |
Unless the -c option is given, and the commit to cvs was successful,
.msg shouldn't be deleted to be able to run the command suggested by
git-cvsexportcommit.
See http://bugs.debian.org/412732
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
.msg shouldn't be deleted to be able to run the command suggested by
git-cvsexportcommit.
See http://bugs.debian.org/412732
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsexportcommit.perl | patch | blob | history |
index 870554eade66d1744c561d4cba33c41dd7701e55..32a488332122e005bd5007a23111eac1093b940a 100755 (executable)
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
die "Exiting: The commit did not succeed";
}
print "Committed successfully to CVS\n";
+ # clean up
+ unlink(".msg");
} else {
print "Ready for you to commit, just run:\n\n $cmd\n";
}
# clean up
unlink(".cvsexportcommit.diff");
-unlink(".msg");
sub usage {
print STDERR <<END;