From: Ian Jackson Date: Fri, 28 Jun 2019 14:13:52 +0000 (+0100) Subject: dgit: Reject dgit pull in split brain mode X-Git-Tag: archive/debian/9.0~91 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=c83c5cca4728c7c9a79e145a6fa4183dd73ad7c6;p=dgit.git dgit: Reject dgit pull in split brain mode In splitting quilt modes dgit pull would have to back-convert the changes and currently there is no code to do this, and these cases were correctly rejected before. But in other quilt modes it would still have to strip off pseudomerges or quilt fixup commits. Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index 5172c4dd..36e0a2b6 100755 --- a/dgit +++ b/dgit @@ -4835,7 +4835,8 @@ sub cmd_fetch { sub cmd_pull { parseopts(); fetchpullargs(); - if (quiltmode_splitbrain()) { + determine_whether_split_brain(); + if (do_split_brain()) { my ($format, $fopts) = get_source_format(); madformat($format) and fail f_ <