summaryrefslogtreecommitdiff
path: root/git-cvsexportcommit.perl
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-28 22:18:57 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-02-28 22:18:57 (GMT)
commit1db8b60b2a6ef0cc0f7cc7d0783b7cda2ce894ca (patch)
tree1d5433fb0c0a74e1478962daaba65b2ced03a43e /git-cvsexportcommit.perl
parentd0d8e14d1bad5f5ad3fb27a6ac819ff4e7006f03 (diff)
parenta1367d1219439fef8e82e546cbe742910231e5b3 (diff)
downloadgit-1db8b60b2a6ef0cc0f7cc7d0783b7cda2ce894ca.zip
git-1db8b60b2a6ef0cc0f7cc7d0783b7cda2ce894ca.tar.gz
git-1db8b60b2a6ef0cc0f7cc7d0783b7cda2ce894ca.tar.bz2
Merge branch 'maint'
* maint: Start preparing Release Notes for 1.5.0.3 Documentation: git-remote add [-t <branch>] [-m <branch>] [-f] name url Include config.mak in doc/Makefile git.el: Set the default commit coding system from the repository config. git-archimport: support empty summaries, put summary on a single line. http-push.c::lock_remote(): validate all remote refs. git-cvsexportcommit: don't cleanup .msg if not yet committed to cvs.
Diffstat (limited to 'git-cvsexportcommit.perl')
-rwxr-xr-xgit-cvsexportcommit.perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-cvsexportcommit.perl b/git-cvsexportcommit.perl
index d08216c..67224b4 100755
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
@@ -248,13 +248,14 @@ if ($opt_c) {
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;