chiark / gitweb /
Create .pc/applied-patches - do not empty it (!)
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 3f9dd97375a6cf00a1a22276fe8ee16f5dd24645..73523715f9bfc66aa2075456e297d3ffae2e818c 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1017,7 +1017,7 @@ END
        runcmd_ordryrun @dpkgsource, qw(--commit .), $patchname;
     }
 
-    if (!open P, '>', ".pc/applied-patches") {
+    if (!open P, '>>', ".pc/applied-patches") {
        $!==&ENOENT or die $!;
     } else {
        close P;