chiark / gitweb /
Split brain: Only send rpush maint-view param if $maintviewhead
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 77eae6b0dafedafb69b441a33c731c4478b571bf..57c0e5c9fc1c7a9323f9b03cd839b8634a83a8d1 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -2749,7 +2749,7 @@ END
     responder_send_command("param head $dgithead");
     responder_send_command("param csuite $csuite");
     responder_send_command("param tagformat $tagformat");
-    if (quiltmode_splitbrain) {
+    if (defined $maintviewhead) {
        die unless ($protovsn//4) >= 4;
        responder_send_command("param maint-view $maintviewhead");
     }