chiark / gitweb /
git-debrebase: `prepush' is now a silent no-op if unstitched.
[dgit.git] / git-debrebase
index 61507ea27ba6470f5b39b3c9583e8fd4c6984fdd..c273976cc3448885e834b2e9c269778114d6d7dd 100755 (executable)
@@ -2275,7 +2275,10 @@ sub cmd_stitch () {
     badusage "no arguments allowed" if @ARGV;
     do_stitch $prose, 0;
 }
-sub cmd_prepush () { cmd_stitch(); }
+sub cmd_prepush () {
+    $opt_noop_ok = 1;
+    cmd_stitch();
+}
 
 sub cmd_quick () {
     badusage "no arguments allowed" if @ARGV;