* Don't check for staleness by default.
This commit is contained in:
parent
e6363b05ae
commit
135b7d54db
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue