chiark / gitweb /
changelog: Tidy a bit
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 909ac95f75ceaef2fd5c05a226416ce785d9d750..d62694a90818c7d461324381f57a3eb4d6b3afc2 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -5416,6 +5416,7 @@ sub quilt_fixup_multipatch ($$$) {
 
     rmtree '.pc';
 
+    runcmd @git, qw(checkout -f), $headref, qw(-- debian);
     my $unapplied=git_add_write_tree();
     printdebug "fake orig tree object $unapplied\n";