From: Junio C Hamano Date: Wed, 20 Dec 2006 02:26:48 +0000 (-0800) Subject: fix populate-filespec X-Git-Tag: v1.5.0-rc0~66 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5caf92322303a0942e0cee5a93cb24f2d8d44022;p=git.git fix populate-filespec I hand munged the original patch when committing 1510fea78, and screwed up the conversion. Signed-off-by: Junio C Hamano --- diff --git a/diff.c b/diff.c index 99744354a..6e6f2a765 100644 --- a/diff.c +++ b/diff.c @@ -1223,7 +1223,7 @@ static int reuse_worktree_file(const char *name, const unsigned char *sha1, int * objects however would tend to be slower as they need * to be individually opened and inflated. */ - if (FAST_WORKING_DIRECTORY && !want_file && has_sha1_pack(sha1, NULL)) + if (!FAST_WORKING_DIRECTORY && !want_file && has_sha1_pack(sha1, NULL)) return 0; len = strlen(name);