* Don't check for staleness by default.

This commit is contained in:
Eelco Dolstra 2003-07-13 21:43:57 +00:00
parent e6363b05ae
commit 135b7d54db

View file

@ -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());