From: Ian Jackson Date: Sun, 22 Oct 2017 19:29:58 +0000 (+0100) Subject: git-debrebase: fix rm of debian/patches not to mind if there aren't any X-Git-Tag: archive/debian/5.0~311 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=52a8321fd59b7ee86213beb81a207ccd4eb49a61 git-debrebase: fix rm of debian/patches not to mind if there aren't any --- diff --git a/git-debrebase b/git-debrebase index f55ef4eb..ed3fc55e 100755 --- a/git-debrebase +++ b/git-debrebase @@ -711,7 +711,7 @@ sub cmd_launder () { my ($tip,$breakwater) = walk $old; update_head $old, $tip, 'launder'; # no tree changes except debian/patches - runcmd @git, qw(rm --quiet -rf debian/patches); + runcmd @git, qw(rm --quiet --ignore-unmatch -rf debian/patches); printf "# breakwater tip\n%s\n", $breakwater; }