438 Commits (34b383e7cd57692fd3996c1e8c9e738dab53ac48)

Author SHA1 Message Date
Matthieu Moy 5256b00631 Use git_mkstemp_mode instead of plain mkstemp to create object files 15 years ago
Nicolas Pitre 748af44c63 sha1_file: be paranoid when creating loose objects 15 years ago
Dmitry Potapov ea68b0ce9f hash-object: don't use mmap() for small files 15 years ago
Nicolas Pitre 9892bebafe sha1_file: don't malloc the whole compressed result when writing out objects 15 years ago
Ilari Liusvaara 4ab07e4d10 Fix integer overflow in unpack_compressed_entry() 15 years ago
Ilari Liusvaara 3aee68aa68 Fix integer overflow in unpack_sha1_rest() 15 years ago
Linus Torvalds a5031214c4 slim down "git show-index" 15 years ago
Junio C Hamano 356521ab22 sha1_file.c: remove unused function 15 years ago
Junio C Hamano 39eea7bdd9 Fix incorrect error check while reading deflated pack data 16 years ago
Shawn O. Pearce b3118bdc91 sha1_file: Fix infinite loop when pack is corrupted 16 years ago
Pierre Habouzit f630cfda88 refactor: use bitsizeof() instead of 8 * sizeof() 16 years ago
Thomas Rast d824cbba02 Convert existing die(..., strerror(errno)) to die_errno() 16 years ago
Linus Torvalds 48fb7deb5b Fix big left-shifts of unsigned char 16 years ago
Christian Couder f5552aee39 sha1_file: add a "read_sha1_file_repl" function 16 years ago
Christian Couder 6809557029 replace_object: add mechanism to replace objects found in "refs/replace/" 16 years ago
Johannes Schindelin fd73ccf279 Cope better with a _lot_ of packs 16 years ago
Felipe Contreras 4b25d091ba Fix a bunch of pointer declarations (codestyle) 16 years ago
Alex Riesen 691f1a28bf replace direct calls to unlink(2) with unlink_or_warn 16 years ago
Johannes Schindelin 348df16679 Rename core.unreliableHardlinks to core.createObject 16 years ago
Johannes Schindelin be66a6c43d Add an option not to use link(src, dest) && unlink(src) when that is unreliable 16 years ago
Junio C Hamano 17e61b8288 set_shared_perm(): sometimes we know what the final mode bits should look like 16 years ago
Junio C Hamano 3be1f18e1b move_temp_to_file(): do not forget to chmod() in "Coda hack" codepath 16 years ago
Johan Herland fb8b193670 Move chmod(foo, 0444) into move_temp_to_file() 16 years ago
Junio C Hamano 5a688fe470 "core.sharedrepository = 0mode" should set, not loosen 16 years ago
Linus Torvalds e8bd78c3fc close_sha1_file(): make it easier to diagnose errors 16 years ago
Brandon Casey 4d6acb7041 Remove --kept-pack-only option and associated infrastructure 16 years ago
Junio C Hamano 69e020ae00 is_kept_pack(): final clean-up 16 years ago
Junio C Hamano 03a9683d22 Simplify is_kept_pack() 16 years ago
Junio C Hamano 386cb77210 Consolidate ignore_packed logic more 16 years ago
Junio C Hamano b8431b033f has_sha1_kept_pack(): take "struct rev_info" 16 years ago
Junio C Hamano cd673c1f17 has_sha1_pack(): refactor "pretend these packs do not exist" interface 16 years ago
Felipe Contreras a9d98a148d sha1_file.c: fix typo 16 years ago
Shawn O. Pearce fa3a0c94dc Clear the delta base cache if a pack is rebuilt 16 years ago
Shawn O. Pearce 3d20c636af Clear the delta base cache during fast-import checkpoint 16 years ago
Jeff King 915308b187 avoid 31-bit truncation in write_loose_object 16 years ago
Christian Couder c2c5b27051 sha1_file: make "read_object" static 16 years ago
Linus Torvalds 39c68542fc Wrap inflate and other zlib routines for better error reporting 16 years ago
Linus Torvalds b760d3aa74 Make 'index_path()' use 'strbuf_readlink()' 16 years ago
Nicolas Pitre c74faea19e make sure packs to be replaced are closed beforehand 16 years ago
Sam Vilain 35243577ab sha1_file.c: resolve confusion EACCES vs EPERM 16 years ago
Joey Hess 65117abc04 sha1_file: avoid bogus "file exists" error message 16 years ago
Joey Hess cbacbf4e55 sha1_file: avoid bogus "file exists" error message 16 years ago
Alex Riesen f755bb996b Fix handle leak in sha1_file/unpack_objects if there were damaged object data 16 years ago
Jeff King 14d9c57896 define empty tree sha1 as a macro 16 years ago
Brandon Casey 0f4dc14ac4 sha1_file.c: split has_loose_object() into local and non-local counterparts 16 years ago
Brandon Casey 8d25931d6f packed_git: convert pack_local flag into a bitfield and add pack_keep 16 years ago
Nicolas Pitre 08698b1e32 make find_pack_revindex() aware of the nasty world 16 years ago
Nicolas Pitre 3d77d8774f make packed_object_info() resilient to pack corruptions 16 years ago
Nicolas Pitre 09ded04b7e make unpack_object_header() non fatal 16 years ago
Nicolas Pitre d8f325563d better validation on delta base object offsets 16 years ago