98 Commits (bf2f63a781dfca084b8cbdd9f8e318d35c89488b)

Author SHA1 Message Date
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 10 years ago
Johannes Schindelin fe8e3b7180 Refactor type_from_string() to allow continuing after detecting an error 10 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() 11 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
Jonathan Nieder 97a20eea19 fix "bundle --stdin" segfault 15 years ago
Junio C Hamano c76189875b object.c: remove unused functions 15 years ago
Christian Couder 0e87c36763 object: call "check_sha1_signature" with the replacement sha1 16 years ago
Dan McGee 91fe2f9091 Unify signedness in hashing calls 16 years ago
Dan McGee b867d324ce Fix type-punning issues 16 years ago
Junio C Hamano b2a6d1c686 bundle: allow the same ref to be given more than once 16 years ago
Martin Koegler d0b8c9e561 parse_object_buffer: don't ignore errors from the object specific parsing functions 17 years ago
Jim Meyering cc21682793 Don't dereference NULL upon lookup failure. 17 years ago
Sam Vilain e2ac7cb5fb Don't assume tree entries that are not dirs are blobs 18 years ago
Carlos Rica 0b1f113075 fix memory leak in parse_object when check_sha1_signature fails 18 years ago
Martin Koegler e5709a4a68 add add_object_array_with_mode 18 years ago