Skip to content
Snippets Groups Projects
Commit 135b7d54 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

* Don't check for staleness by default.

parent e6363b05
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,10 @@ string expandHash(const Hash & hash, const string & target, ...@@ -166,7 +166,10 @@ string expandHash(const Hash & hash, const string & target,
{ {
string path = *i; string path = *i;
try { try {
#if 0
if (path == target && hashPath(path) == hash) if (path == target && hashPath(path) == hash)
#endif
if (path == target && pathExists(path))
return path; return path;
} catch (Error & e) { } catch (Error & e) {
debug(format("stale path: %1%") % e.msg()); debug(format("stale path: %1%") % e.msg());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment