@matheusbsbs / matheus-bagliano / commits / 5caf923223
Fork 0

fix populate-filespec

I hand munged the original patch when committing 1510fea78, and screwed up the conversion. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Dec 19, 2006 at 18:26 UTC 5caf92322303a0942e0cee5a93cb24f2d8d44022
1 file changed +1 -1
diff.c
+1 -1
@@ -1223,7 +1223,7 @@ static int reuse_worktree_file(const char *name, const unsigned char *sha1, int
1223 * objects however would tend to be slower as they need
1224 * to be individually opened and inflated.
1225 */
1226 - if (FAST_WORKING_DIRECTORY && !want_file && has_sha1_pack(sha1, NULL))
1226 + if (!FAST_WORKING_DIRECTORY && !want_file && has_sha1_pack(sha1, NULL))
1227 return 0;
1228
1229 len = strlen(name);