From c83c5cca4728c7c9a79e145a6fa4183dd73ad7c6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 28 Jun 2019 15:13:52 +0100 Subject: [PATCH] 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 --- dgit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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_ <