summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit2
1 files changed, 2 insertions, 0 deletions
diff --git a/dgit b/dgit
index 4bc088e..2b1a293 100755
--- a/dgit
+++ b/dgit
@@ -4578,6 +4578,7 @@ END
my $r = system @diffcmd;
if ($r) {
if ($r==256) {
+ confess unless !!$split_brain == !!$do_split_brain;
my $referent = $split_brain ? $dgithead : 'HEAD';
my $diffs = cmdoutput @git, qw(diff --stat), $tree, $dgithead;
@@ -6778,6 +6779,7 @@ sub build_source {
# If we are in split brain, there is already a playtree with
# the thing we should package into a .dsc (thanks to quilt
# fixup). If not, make a playtree
+ confess unless !!$split_brain == !!$do_split_brain;
prep_ud() unless $split_brain;
changedir $playground;
unless ($split_brain) {