254 Commits (1daa09d9a833d3969b64e763865a58df56bc3871)

Author SHA1 Message Date
Linus Torvalds ac54c277f0 Be more careful about zlib return values 18 years ago
Nicolas Pitre ce9fbf16e0 index-pack: use hash_sha1_file() 18 years ago
Linus Torvalds 456cdf6edb Fix loose object uncompression check. 18 years ago
Nicolas Pitre 5e08ecbff2 use a LRU eviction policy for the delta base cache 18 years ago
Nicolas Pitre 3358004a00 clean up the delta base cache size a bit 18 years ago
Shawn O. Pearce 18bdec1118 Limit the size of the new delta_base_cache 18 years ago
Nicolas Pitre a0cba10847 Reuse cached data out of delta base cache. 18 years ago
Linus Torvalds e5e01619bc Implement a simple delta_base cache 18 years ago
Linus Torvalds 62f255ad58 Make trivial wrapper functions around delta base generation and freeing 18 years ago
Nicolas Pitre 4287307833 [PATCH] clean up pack index handling a bit 18 years ago
Junio C Hamano b867092fec prepare_packed_git(): sort packs by age and localness. 18 years ago
Shawn O. Pearce dc49cd769b Cast 64 bit off_t to 32 bit size_t 18 years ago
Shawn O. Pearce c4001d92be Use off_t when we really mean a file offset. 18 years ago
Shawn O. Pearce 326bf39677 Use uint32_t for all packed object counts. 18 years ago
Shawn O. Pearce 3a55602eec General const correctness fixes 18 years ago
Shawn O. Pearce 2d88451b7a Fix mmap leak caused by reading bad indexes. 18 years ago
Shawn O. Pearce 30fee0625d Display the null SHA-1 as the base for an OBJ_OFS_DELTA. 18 years ago
Junio C Hamano 7efbff7531 unpack_sha1_file(): detect corrupt loose object files. 18 years ago
Junio C Hamano d0d8e14d1b index_fd(): convert blob only if it is a regular file. 18 years ago
Junio C Hamano 53bca91a7d index_fd(): pass optional path parameter as hint for blob conversion 18 years ago
Junio C Hamano edaec3fbe8 index_fd(): use enum object_type instead of type name string. 18 years ago
Nicolas Pitre 21666f1aae convert object type handling from a string to a number 18 years ago
Nicolas Pitre df8436622f formalize typename(), and add its reverse type_from_string() 18 years ago
Nicolas Pitre 9ba630318f sha1_file.c: don't ignore an error condition in sha1_loose_object_info() 18 years ago
Nicolas Pitre 2b87c45ba6 sha1_file.c: cleanup "offset" usage 18 years ago
Nicolas Pitre d65a16f6c4 sha1_file.c: cleanup hdr usage 18 years ago
Junio C Hamano efa13f7b7e pretend-sha1: grave bugfix. 18 years ago
Alexandre Julliard 78a28df938 sha1_file.c: Round the mmap offset to half the window size. 18 years ago
Linus Torvalds 6c510bee20 Lazy man's auto-CRLF 18 years ago
Linus Torvalds bd3a5b5ee5 Mark places that need blob munging later for CRLF conversion. 18 years ago
Junio C Hamano d66b37bb19 Add pretend_sha1_file() interface. 18 years ago
Pavel Roskin 3dff5379bf Assorted typo fixes 18 years ago
Shawn O. Pearce 3cf8b462d2 Don't leak file descriptors from unavailable pack files. 18 years ago
Shawn O. Pearce c715f78369 Don't find objects in packs which aren't available anymore. 18 years ago
Shawn O. Pearce 072db2789c Refactor open_packed_git to return an error code. 18 years ago
Shawn O. Pearce 54a15a8df2 Correct comment in prepare_packed_git_one. 18 years ago
Shawn O. Pearce 625e9421df Cleanup prepare_packed_git_one to reuse install_packed_git. 18 years ago
Junio C Hamano a69e542989 Refactor the pack header reading function out of receive-pack.c 18 years ago
Peter Eriksen 8276c0070f sha1_file.c: Avoid multiple calls to find_pack_entry(). 18 years ago
Junio C Hamano b18b00a661 Use fixed-size integers for .idx file I/O 18 years ago
Shawn O. Pearce df1b059d8d Document pack .idx file format upgrade strategy. 18 years ago
Shawn O. Pearce e6e2bd6201 Remove read_or_die in favor of better error messages. 18 years ago
Linus Torvalds d34cf19b89 Clean up write_in_full() users 18 years ago
Eric Wong 3b97fee23d Avoid errors and warnings when attempting to do I/O on zero bytes 18 years ago
Pavel Roskin e05db0fd4f Fix warnings in sha1_file.c - use C99 printf format if available 18 years ago
Andy Whitcroft 93822c2239 short i/o: fix calls to write to use xwrite or write_in_full 18 years ago
Andy Whitcroft 93d26e4cb9 short i/o: fix calls to read to use xread or read_in_full 18 years ago
Junio C Hamano 2c039da804 mmap: set FD_CLOEXEC for file descriptors we keep open for mmap() 18 years ago
Shawn O. Pearce c4712e4553 Replace mmap with xmmap, better handling MAP_FAILED. 18 years ago
Shawn O. Pearce 97bfeb34df Release pack windows before reporting out of memory. 18 years ago