summaryrefslogtreecommitdiff
path: root/object.c
Commit message (Expand)AuthorAgeFilesLines
* object_array: add and use `object_array_pop()`Martin Ågren2017-09-241-0/+13
* object: remove "used" field from struct objectJonathan Tan2017-07-201-1/+0
* coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason2017-06-161-2/+1
* object: convert parse_object* to take struct object_idbrian m. carlson2017-05-081-25/+19
* Convert lookup_tag to struct object_idbrian m. carlson2017-05-081-1/+1
* Convert lookup_tree to struct object_idbrian m. carlson2017-05-081-1/+1
* Convert lookup_blob to struct object_idbrian m. carlson2017-05-081-2/+2
* Convert remaining callers of lookup_blob to object_idbrian m. carlson2017-05-081-3/+6
* Convert lookup_commit* to struct object_idbrian m. carlson2017-05-081-1/+4
* use SWAP macroRené Scharfe2017-01-301-3/+1
* Remove get_object_hash.brian m. carlson2015-11-201-3/+3
* Convert struct object to object_idbrian m. carlson2015-11-201-1/+1
* Add several uses of get_object_hash.brian m. carlson2015-11-201-3/+3
* Merge branch 'jk/type-from-string-gently'Junio C Hamano2015-05-051-1/+2
|\
| * type_from_string_gently: make sure length matchesjk/type-from-string-gentlyJeff King2015-04-171-1/+2
* | drop add_object_array_with_modeJeff King2014-10-191-6/+1
* | make add_object_array_with_context interface more saneJeff King2014-10-161-14/+9
* | object_array: add a "clear" functionJeff King2014-10-161-0/+10
* | object_array: factor out slopbuf-freeing logicJeff King2014-10-161-4/+12
* | Merge branch 'rs/realloc-array'Junio C Hamano2014-09-261-1/+1
|\ \ | |/ |/|
| * use REALLOC_ARRAY for changing the allocation size of arraysrs/realloc-arrayRené Scharfe2014-09-181-1/+1
* | Refactor type_from_string() to allow continuing after detecting an errorJohannes Schindelin2014-09-101-2/+9
|/
* Merge branch 'jk/alloc-commit-id'Junio C Hamano2014-07-221-5/+21
|\
| * object_as_type: set commit indexJeff King2014-07-131-0/+2
| * add object_as_type helper for casting objectsJeff King2014-07-131-0/+17
| * parse_object_buffer: do not set object typeJeff King2014-07-131-2/+0
| * move setting of object->type to alloc_* functionsJeff King2014-07-131-3/+2
* | hashmap: factor out getting a hash code from a SHA1Karsten Blees2014-07-071-12/+1
|/
* commit: record buffer length in cacheJeff King2014-06-131-2/+2
* use get_cached_commit_buffer where appropriateJeff King2014-06-131-1/+1
* provide a helper to set the commit bufferJeff King2014-06-131-1/+1
* Document some functions defined in object.cmh/replace-refs-variable-renameMichael Haggerty2014-02-281-1/+28
* Merge branch 'mg/more-textconv'Junio C Hamano2013-10-231-6/+23
|\
| * grep: honor --textconv for the case rev:pathmg/more-textconvMichael J Gruber2013-05-101-6/+20
* | lookup_object: remove hashtable_index() and optimize hash_obj()np/lookup-object-hashingNicolas Pitre2013-09-111-12/+10
* | Merge branch 'sb/parse-object-buffer-eaten'Junio C Hamano2013-07-221-4/+3
|\ \
| * | parse_object_buffer: correct freeing the buffersb/parse-object-buffer-eatenStefan Beller2013-07-171-4/+3
* | | Merge branch 'mh/reflife'Junio C Hamano2013-06-141-12/+58
|\ \ \
| * | | object_array_entry: fix memory handling of the name fieldMichael Haggerty2013-06-021-3/+23
| * | | object_array_remove_duplicates(): rewrite to reduce copyingMichael Haggerty2013-05-281-11/+21
| * | | object_array: add function object_array_filter()Michael Haggerty2013-05-281-0/+16
| | |/ | |/|
* | | Merge branch 'jk/lookup-object-prefer-latest'Junio C Hamano2013-05-291-2/+12
|\ \ \ | |/ / |/| |
| * | lookup_object: prioritize recently found objectsJeff King2013-05-021-2/+12
| |/
* | avoid segfaults on parse_object failureJeff King2013-03-171-0/+10
|/
* remove superfluous newlines in error messagesPete Wyckoff2012-04-301-3/+3
* Merge branch 'hv/submodule-recurse-push'Junio C Hamano2012-04-241-0/+11
|\
| * Teach revision walking machinery to walk multiple times sequenciallyHeiko Voigt2012-03-301-0/+11
* | parse_object: avoid putting whole blob in coreNguyễn Thái Ngọc Duy2012-03-071-0/+11
|/
* parse_object: try internal cache before reading object dbJeff King2012-01-051-2/+7
* receive-pack, fetch-pack: reject bogus pack that records objects twicejc/index-pack-reject-dupsJunio C Hamano2011-11-161-0/+2