Merge branch 'master' into js/c-merge-recursive

Adjust to hold_lock_file_for_update() change on the master.
This commit is contained in:
Junio C Hamano
2006-08-12 18:34:36 -07:00
84 changed files with 1487 additions and 480 deletions

View File

@ -61,7 +61,7 @@ static int ce_compare_data(struct cache_entry *ce, struct stat *st)
unsigned char sha1[20];
if (!index_fd(sha1, fd, st, 0, NULL))
match = memcmp(sha1, ce->sha1, 20);
close(fd);
/* index_fd() closed the file descriptor already */
}
return match;
}