189 Commits (bfddbc5e1e68373ba96441ca228236667912265c)

Author SHA1 Message Date
Johannes Schindelin f0df4ed562 sha1_object_info(): be consistent with read_sha1_file() 18 years ago
Petr Baudis 916d081bba Nicer error messages in case saving an object to db goes wrong 18 years ago
Shawn Pearce fc04c412d8 Teach receive-pack how to keep pack files based on object count. 18 years ago
Johannes Schindelin 866cae0db4 link_temp_to_file: call adjust_shared_perm() only when we created the directory 18 years ago
Junio C Hamano 91c23e48d0 link_temp_to_file: don't leave the path truncated on adjust_shared_perm failure 18 years ago
Junio C Hamano 4508dde169 Revert "send-pack --keep: do not explode into loose objects on the receiving end." 18 years ago
Shawn Pearce d4ff6d92c3 Allow short pack names to git-pack-objects --unpacked=. 18 years ago
Junio C Hamano c7740a943e send-pack --keep: do not explode into loose objects on the receiving end. 18 years ago
Nicolas Pitre 1a3b55c6b4 reduce delta head inflated size 18 years ago
Rene Scharfe 7cfb5f367e Replace open-coded version of hash_sha1_file() 18 years ago
Rene Scharfe 972a915583 Make write_sha1_file_prepare() void 18 years ago
Rene Scharfe 8f9777801d Make write_sha1_file_prepare() static 18 years ago
Rene Scharfe abdc3fc842 Add hash_sha1_file() 18 years ago
Nicolas Pitre 780e6e735b make pack data reuse compatible with both delta types 18 years ago
Nicolas Pitre eb32d236df introduce delta objects with offset to base 18 years ago
Nicolas Pitre 43057304c0 many cleanups to sha1_file.c 18 years ago
Junio C Hamano e49521b56d Make hexval() available to others. 18 years ago
Junio C Hamano a41fae9c46 get_sha1_hex() micro-optimization 18 years ago
Junio C Hamano 106d710bc1 pack-objects --unpacked=<existing pack> option. 18 years ago
Junio C Hamano 72518e9c26 more lightweight revalidation while reusing deflated stream in packing 18 years ago
Junio C Hamano 81a71734bb Revert "Make it possible to set up libgit directly (instead of from the environment)" 18 years ago
Shawn Pearce 9befac470b Replace uses of strdup with xstrdup. 18 years ago
Junio C Hamano ad1ed5ee89 consolidate two copies of new style object header parsing code. 18 years ago
Junio C Hamano 839837b953 Constness tightening for move/link_temp_to_file() 18 years ago
Jonas Fonseca 2d7320d0b0 Use xmalloc instead of malloc 18 years ago
Jonas Fonseca 83572c1a91 Use xrealloc instead of realloc 18 years ago
Shawn Pearce eb950c192a Convert unpack_entry_gently and friends to use offsets. 18 years ago
Shawn Pearce 465b26eeef Cleanup unpack_object_header to use only offsets. 18 years ago
Shawn Pearce 5a18f540a5 Cleanup unpack_entry_gently and friends to use type_name array. 18 years ago
Shawn Pearce 7c3e8be307 Reuse compression code in unpack_compressed_entry. 18 years ago
Shawn Pearce de530aaa4b Reorganize/rename unpack_non_delta_entry to unpack_compressed_entry. 18 years ago
Shawn Pearce e702496e43 Convert memcpy(a,b,20) to hashcpy(a,b). 18 years ago
Shawn Pearce 44c10841ea Remove unnecessary forward declaration of unpack_entry. 18 years ago
Shawn Pearce da7560110f Verify we know how to read a pack before trying to using it. 18 years ago
David Rientjes a89fccd281 Do not use memcmp(sha1_1, sha1_2, 20) with hardcoded length. 18 years ago
David Rientjes 96f1e58f52 remove unnecessary initializations 18 years ago
Rene Scharfe 5bb1cda5f7 drop length argument of has_extension 19 years ago
Rene Scharfe 83a2b841d6 Add has_extension() 19 years ago
Junio C Hamano bb6b8e4f87 sha1_file.c: expose map_sha1_file() interface. 19 years ago
Linus Torvalds 93821bd97a sha1_file: add the ability to parse objects in "pack file format" 19 years ago
Shawn Pearce 756aaf4ac5 Make lazy mkdir more robust. 19 years ago
Linus Torvalds 38d3874ddc Make the unpacked object header functions static to sha1_file.c 19 years ago
Pavel Roskin a9486b02ec Avoid C99 comments, use old-style C comments instead. 19 years ago
Pavel Roskin 82e5a82fd7 Fix more typos, primarily in the code 19 years ago
Petr Baudis 0270083ded Make it possible to set up libgit directly (instead of from the environment) 19 years ago
Joachim B Haga 12f6c308d5 Make zlib compression level configurable, and change default. 19 years ago
Timo Hirvonen 554fe20d80 Make some strings const 19 years ago
Florian Forster 1d7f171c3a Remove all void-pointer arithmetic. 19 years ago
Junio C Hamano 138086a725 shared repository - add a few missing calls to adjust_shared_perm(). 19 years ago
Jeff King 86f7780c0b sha1_file: avoid re-preparing duplicate packs 19 years ago