summaryrefslogtreecommitdiffstats
path: root/svn-commit-git-patch
diff options
context:
space:
mode:
Diffstat (limited to 'svn-commit-git-patch')
-rwxr-xr-xsvn-commit-git-patch8
1 files changed, 7 insertions, 1 deletions
diff --git a/svn-commit-git-patch b/svn-commit-git-patch
index 54b345d..b25be44 100755
--- a/svn-commit-git-patch
+++ b/svn-commit-git-patch
@@ -49,5 +49,11 @@ while (my $line = <$fh>) {
$message = "$subject\n\n$message";
-system(qw(svn patch --strip 1), $patchfile);
+system(qw(patch -p 3 -i), $patchfile);
+
+system(qw(svn diff));
+
+print "Commit message will be:\n$message\n\n\n";
+print "Press Enter to commit";
+<STDIN>;
system(qw(svn commit -m), $message);