about summary refs log tree commit diff
path: root/src/store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-13T21·43+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-13T21·43+0000
commit135b7d54db4e0ca56bda67946432fcf9d4f3ac5c (patch)
tree759dec0bb12b0d2b65447c1de22745151a4015cb /src/store.cc
parente6363b05ae72ffd9d977ec3f0981ff9123c404a6 (diff)
* Don't check for staleness by default.
Diffstat (limited to 'src/store.cc')
-rw-r--r--src/store.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/store.cc b/src/store.cc
index 12de50ec6424..5feb80c9de78 100644
--- a/src/store.cc
+++ b/src/store.cc
@@ -166,7 +166,10 @@ string expandHash(const Hash & hash, const string & target,
         {
             string path = *i;
             try {
+#if 0
                 if (path == target && hashPath(path) == hash)
+#endif
+                if (path == target && pathExists(path))
                     return path;
             } catch (Error & e) {
                 debug(format("stale path: %1%") % e.msg());