From 396a8a572fb61dc78d81c23f174281b52b994098 Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Mon, 26 Sep 2016 15:19:50 +0100
Subject: [PATCH] Revert "Still need to drift, regardless of rebuild of tasks"

This reverts commit d5191f163d7d7633c8e1adf50006dbb67635585a.
---
 src/runner.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/runner.c b/src/runner.c
index 68f1a76f04..410458fadb 100644
--- a/src/runner.c
+++ b/src/runner.c
@@ -765,6 +765,9 @@ static void runner_do_drift(struct cell *c, struct engine *e) {
   c->updated = 0;
   c->g_updated = 0;
 
+  /* Should we abort as a rebuild has been triggered ? */
+  if (e->forcerebuild) return;
+
   /* Do we need to drift ? */
   if (!e->drift_all && !cell_is_drift_needed(c, ti_current)) return;
 
-- 
GitLab