From: Mikko Rasa Date: Tue, 30 Apr 2013 11:03:40 +0000 (+0300) Subject: Set config mtime to current time if an option is changed X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=d9028dec3b81c84560c580008fa68490f049e723;p=builder.git Set config mtime to current time if an option is changed This functionality got mistakenly circumvented in commit 3f541fc and then removed entirely in commit bd61d7f. --- diff --git a/source/config.cpp b/source/config.cpp index 11092c1..75784e3 100644 --- a/source/config.cpp +++ b/source/config.cpp @@ -35,6 +35,7 @@ bool Config::set_option(const string &opt, const string &val) { result = true; changed = true; + mtime = Time::now(); } i->second.value = val; }