244 Commits (b867092fec81c59a35337d24d2d976ab2acc2488)

Author SHA1 Message Date
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
Shawn O. Pearce a53128b601 Create pack_report() as a debugging aid. 18 years ago
Shawn O. Pearce 11daf39b74 Support unmapping windows on 'temporary' packfiles. 18 years ago
Shawn O. Pearce 73b4e4be71 Improve error message when packfile mmap fails. 18 years ago
Shawn O. Pearce 60bb8b1453 Fully activate the sliding window pack access. 18 years ago
Shawn O. Pearce 54044bf825 Unmap individual windows rather than entire files. 18 years ago
Shawn O. Pearce 8d8a4ea553 Document why header parsing won't exceed a window. 18 years ago
Shawn O. Pearce 079afb18fe Loop over pack_windows when inflating/accessing data. 18 years ago
Shawn O. Pearce 03e79c88aa Replace use_packed_git with window cursors. 18 years ago
Shawn O. Pearce 9bc879c1ce Refactor how we open pack files to prepare for multiple windows. 18 years ago
Shawn O. Pearce c41ee586dc Refactor packed_git to prepare for sliding mmap windows. 18 years ago