chiark / gitweb /
git-debrebase: fix rm of debian/patches not to mind if there aren't any
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 22 Oct 2017 19:29:58 +0000 (20:29 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 11:25:49 +0000 (12:25 +0100)
git-debrebase

index f55ef4e..ed3fc55 100755 (executable)
@@ -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;
 }