chiark / gitweb /
git-debrebase: drop d/patches from all laundered commits
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 30 Jan 2018 18:46:20 +0000 (18:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 11:25:49 +0000 (12:25 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase

index 8c77dbc..dc55df8 100755 (executable)
@@ -657,6 +657,7 @@ sub walk ($;$$) {
     my $read_tree_debian = sub {
        my ($treeish) = @_;
        read_tree_subdir 'debian', "$treeish:debian";
+        rm_subdir_cached 'debian/patches';
     };
     my $read_tree_upstream = sub {
        my ($treeish) = @_;