chiark / gitweb /
git-debrebase: drop a superfluous rm_subdir_cached qw(debian/patches)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 16 Feb 2018 21:06:45 +0000 (21:06 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 15:03:11 +0000 (16:03 +0100)
This is done by $read_tree_debian->($cltree).  So nfc.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase

index 5fa4f47..aacad91 100755 (executable)
@@ -738,7 +738,6 @@ sub walk ($;$$) {
                next;
            } elsif ($method eq 'DgitImportDebianUpdate') {
                $read_tree_debian->($cltree);
-               rm_subdir_cached qw(debian/patches);
            } elsif ($method eq 'DgitImportUpstreamUpdate') {
                confess unless $rewriting;
                my $differs = (get_differs $build, $cltree);