55 Commits (d079837eeeadc37d266113a1fd2deb0a01aaee91)

Author SHA1 Message Date
Johan Herland 8a912bcb25 Ensure return value from xread() is always stored into an ssize_t 18 years ago
Shawn O. Pearce cbc6bdab08 Reuse fixup_pack_header_footer in index-pack 18 years ago
Nicolas Pitre 13aaf14825 make progress "title" part of the common progress interface 18 years ago
Nicolas Pitre 96a02f8f6d common progress display support 18 years ago
Nicolas Pitre 4ba7d71153 allow forcing index v2 and 64-bit offset treshold 18 years ago
Nicolas Pitre d1a46a9eab index-pack: learn about pack index version 2 18 years ago
Nicolas Pitre ee5743ce19 compute object CRC32 with index-pack 18 years ago
Nicolas Pitre d7dd02231f add overflow tests on pack offset variables 18 years ago
Nicolas Pitre 8723f21626 make overflow test on delta base offset work regardless of variable size 18 years ago
Nicolas Pitre bbf4b41baf Plug memory leak in index-pack collision checking codepath. 18 years ago
Nicolas Pitre 0e55181f29 make it more obvious that temporary files are temporary files 18 years ago
Nicolas Pitre 9096c660a8 index-pack: more validation checks and cleanups 18 years ago
Nicolas Pitre ce9fbf16e0 index-pack: use hash_sha1_file() 18 years ago
Nicolas Pitre 8685da4256 don't ever allow SHA1 collisions to exist by fetching a pack 18 years ago
Shawn O. Pearce 3a55602eec General const correctness fixes 18 years ago
Shawn O. Pearce a91d49cd36 index-pack: Loop over pread until data loading is complete. 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
Johannes Schindelin fa257b0554 git-bundle: assorted fixes 18 years ago
Johannes Schindelin 2e0afafebd Add git-bundle: move objects and references by archive 18 years ago
Junio C Hamano cc44c7655f Mechanical conversion to use prefixcmp() 18 years ago
Junio C Hamano d1b2ddc863 index-pack: write-or-die instead of unchecked write-in-full. 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
Nicolas Pitre 08a19d873c clarify some error messages wrt unknown object types 18 years ago
Junio C Hamano 85023577a8 simplify inclusion of system header files. 18 years ago
Nicolas Pitre 6d2fa7f1b4 index-pack usage of mmap() is unacceptably slower on many OSes other than Linux 18 years ago
Jim Meyering 554a2636f7 Don't use memcpy when source and dest. buffers may overlap 18 years ago
Rene Scharfe a6e8a76770 sparse fix: non-ANSI function declaration 18 years ago
Nicolas Pitre 576162a45f remove .keep pack lock files when done with refs update 18 years ago
Nicolas Pitre 9ca4a201ea have index-pack create .keep file more carefully 18 years ago
Nicolas Pitre bed006fbdd Allow pack header preprocessing before unpack-objects/index-pack. 18 years ago
Edgar Toernig 79a65697be Use memmove instead of memcpy for overlapping areas 18 years ago
Shawn Pearce b807770924 Teach git-index-pack how to keep a pack file. 18 years ago
Nicolas Pitre b89c4e93cc index-pack: minor fixes to comment and function name 18 years ago
Nicolas Pitre 9bee247851 mimic unpack-objects when --stdin is used with index-pack 18 years ago
Nicolas Pitre 3c9af36646 add progress status to index-pack 18 years ago
Nicolas Pitre 636171cb80 make index-pack able to complete thin packs. 18 years ago
Nicolas Pitre e42797f5b6 enable index-pack streaming capability 18 years ago
Nicolas Pitre 2d477051ef add the capability for index-pack to read from a stream 18 years ago
Nicolas Pitre 3c552873c6 index-pack: compare only the first 20-bytes of the key. 18 years ago
Nicolas Pitre 53dda6ff62 teach git-index-pack about deltas with offset to base 19 years ago
Nicolas Pitre eb32d236df introduce delta objects with offset to base 19 years ago
Shawn Pearce e702496e43 Convert memcpy(a,b,20) to hashcpy(a,b). 19 years ago
David Rientjes a89fccd281 Do not use memcmp(sha1_1, sha1_2, 20) with hardcoded length. 19 years ago
Rene Scharfe 5bb1cda5f7 drop length argument of has_extension 19 years ago
Rene Scharfe 83a2b841d6 Add has_extension() 19 years ago
Peter Eriksen 8e44025925 Use blob_, commit_, tag_, and tree_type throughout. 19 years ago
Nicolas Pitre d60fc1c864 remove delta-against-self bit 19 years ago
Junio C Hamano 7e4a2a8483 avoid asking ?alloc() for zero bytes. 19 years ago