summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2023-01-08 10:32:22 +0100
committerFlorian Pritz <bluewind@xinu.at>2023-01-08 10:32:28 +0100
commitc9ebe8bcdf3e1f3ff5b1fbebadce9c60f601315a (patch)
tree878419b3158b51ef38fc9a02a8374d2f6cc7a6bb
parenta04b7082eafca75a8b798494e29eb929a7cec8e7 (diff)
downloadbin-c9ebe8bcdf3e1f3ff5b1fbebadce9c60f601315a.tar.gz
bin-c9ebe8bcdf3e1f3ff5b1fbebadce9c60f601315a.tar.xz
svn-commit-git-patch: Output diff and message before commitHEADmaster
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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);