summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-20 02:26:48 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-12-20 05:33:24 (GMT)
commit5caf92322303a0942e0cee5a93cb24f2d8d44022 (patch)
treef9ed62761779161cb6cf413e3494fd37bb5ca994 /diff.c
parentc6b4fa96cbb65036b36e19b4dd61c7030e457327 (diff)
downloadgit-5caf92322303a0942e0cee5a93cb24f2d8d44022.zip
git-5caf92322303a0942e0cee5a93cb24f2d8d44022.tar.gz
git-5caf92322303a0942e0cee5a93cb24f2d8d44022.tar.bz2
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>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 9974435..6e6f2a7 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);