109 Commits (ccc12e06764e551c86ff458b16db35958957645f)

Author SHA1 Message Date
René Scharfe 4ad315fc99 object: add clear_commit_marks_all() 7 years ago
Martin Ågren 7199203937 object_array: add and use `object_array_pop()` 7 years ago
Jonathan Tan 092c55d094 object: remove "used" field from struct object 8 years ago
Ævar Arnfjörð Bjarmason 6a83d90207 coccinelle: make use of the "type" FREE_AND_NULL() rule 8 years ago
brian m. carlson c251c83df2 object: convert parse_object* to take struct object_id 8 years ago
brian m. carlson d3101b533d Convert lookup_tag to struct object_id 8 years ago
brian m. carlson 740ee055c6 Convert lookup_tree to struct object_id 8 years ago
brian m. carlson 3aca1fc6c9 Convert lookup_blob to struct object_id 8 years ago
brian m. carlson 3e9309815d Convert remaining callers of lookup_blob to object_id 8 years ago
brian m. carlson bc83266abe Convert lookup_commit* to struct object_id 8 years ago
René Scharfe 35d803bc9a use SWAP macro 8 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson f2fd0760f6 Convert struct object to object_id 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
Jeff King b7994af0f9 type_from_string_gently: make sure length matches 10 years ago
Jeff King 189a122249 drop add_object_array_with_mode 10 years ago
Jeff King 9e0c3c4fcd make add_object_array_with_context interface more sane 10 years ago
Jeff King 46be823124 object_array: add a "clear" function 10 years ago
Jeff King 68f492359e object_array: factor out slopbuf-freeing logic 10 years ago
René Scharfe 2756ca4347 use REALLOC_ARRAY for changing the allocation size of arrays 11 years ago
Johannes Schindelin fe8e3b7180 Refactor type_from_string() to allow continuing after detecting an error 11 years ago
Jeff King 34dfe197a9 object_as_type: set commit index 11 years ago
Jeff King c4ad00f8cc add object_as_type helper for casting objects 11 years ago
Jeff King fe0444b50b parse_object_buffer: do not set object type 11 years ago
Jeff King fe24d396e1 move setting of object->type to alloc_* functions 11 years ago
Jeff King d66bebcbcf object_as_type: set commit index 11 years ago
Jeff King 8ff226a9d5 add object_as_type helper for casting objects 11 years ago
Jeff King 5af01caa08 parse_object_buffer: do not set object type 11 years ago
Jeff King d36f51c13b move setting of object->type to alloc_* functions 11 years ago
Karsten Blees 039dc71a7c hashmap: factor out getting a hash code from a SHA1 11 years ago
Jeff King 8597ea3afe commit: record buffer length in cache 11 years ago
Jeff King a97934d820 use get_cached_commit_buffer where appropriate 11 years ago
Jeff King 66c2827ea4 provide a helper to set the commit buffer 11 years ago
Michael Haggerty 33bef7ea25 Document some functions defined in object.c 11 years ago
Nicolas Pitre 9f36c9b7f7 lookup_object: remove hashtable_index() and optimize hash_obj() 12 years ago
Stefan Beller 8e92e8f242 parse_object_buffer: correct freeing the buffer 12 years ago
Michael Haggerty 31faeb2088 object_array_entry: fix memory handling of the name field 12 years ago
Michael Haggerty 1506510c17 object_array_remove_duplicates(): rewrite to reduce copying 12 years ago
Michael Haggerty aeb4a51ef8 object_array: add function object_array_filter() 12 years ago
Michael J Gruber afa15f3cd8 grep: honor --textconv for the case rev:path 12 years ago
Jeff King 9a414486d9 lookup_object: prioritize recently found objects 12 years ago
Jeff King 75a9549047 avoid segfaults on parse_object failure 12 years ago
Pete Wyckoff 82247e9bd5 remove superfluous newlines in error messages 13 years ago
Heiko Voigt bcc0a3ea38 Teach revision walking machinery to walk multiple times sequencially 13 years ago
Nguyễn Thái Ngọc Duy 090ea12671 parse_object: avoid putting whole blob in core 13 years ago
Jeff King ccdc6037fe parse_object: try internal cache before reading object db 13 years ago
Junio C Hamano 68be2fea50 receive-pack, fetch-pack: reject bogus pack that records objects twice 13 years ago
Junio C Hamano 4bbf5a2615 read_sha1_file(): get rid of read_sha1_file_repl() madness 14 years ago
Jared Hance 55b4e9e432 Fix whitespace issue in object.c 15 years ago
Nguyễn Thái Ngọc Duy 2e3400c052 parse_object: pass on the original sha1, not the replaced one 15 years ago