From e66c2cf3f7182a3e6f52945636a807ed4a959d5b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 19 Aug 2018 18:41:40 +0100 Subject: git-debrebase: `prepush' is now a silent no-op if unstitched. This is more friendly. Update the docs accordingly. Signed-off-by: Ian Jackson --- git-debrebase | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'git-debrebase') diff --git a/git-debrebase b/git-debrebase index 61507ea..c273976 100755 --- a/git-debrebase +++ b/git-debrebase @@ -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; -- cgit v1.2.3