mirror of
https://github.com/git/git.git
synced 2024-11-20 16:34:04 +01:00
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>
This commit is contained in:
parent
c6b4fa96cb
commit
5caf923223
2
diff.c
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user