aboutsummaryrefslogtreecommitdiff
path: root/build2/depdb.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-04-05 09:41:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-04-08 12:51:00 +0200
commit01d848149c22a69a62eada5fedc2406c54d95ba8 (patch)
tree66a3b59619f32f7f7244200f810f4d4cc9115ca5 /build2/depdb.hxx
parent3392226a2248b5cd93a899afb986917ce9e7ad74 (diff)
Support for --dry-run|-n mode, perform update part
Diffstat (limited to 'build2/depdb.hxx')
-rw-r--r--build2/depdb.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/depdb.hxx b/build2/depdb.hxx
index 64ea627..ceb58ac 100644
--- a/build2/depdb.hxx
+++ b/build2/depdb.hxx
@@ -54,7 +54,9 @@ namespace build2
//
// If we assume that an update of the database also means an update of the
// target, then this "interrupted update" situation can be easily detected
- // by comparing the database and target modification timestamps.
+ // by comparing the database and target modification timestamps. This is
+ // also used to handle the dry-run mode where we essentially do the
+ // interruption ourselves.
//
struct depdb_base
{