From 135b7d54db4e0ca56bda67946432fcf9d4f3ac5c Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <e.dolstra@tudelft.nl>
Date: Sun, 13 Jul 2003 21:43:57 +0000
Subject: [PATCH] * Don't check for staleness by default.

---
 src/store.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/store.cc b/src/store.cc
index 12de50ec6..5feb80c9d 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());
-- 
GitLab