summaryrefslogtreecommitdiff
path: root/src/tree.c
Commit message (Expand)AuthorAgeFilesLines
* array: fix dereference from void * typePeter Pettersson2021-08-251-1/+2
* path: git_path_isvalid -> git_path_validateEdward Thomson2021-04-141-1/+1
* tree: deprecate `git_treebuilder_write_with_buffer`Edward Thomson2021-03-041-56/+67
* tree: use GIT_ASSERTEdward Thomson2020-11-271-20/+31
* tree functions: return an intEdward Thomson2020-01-241-2/+6
* fileops: rename to "futils.h" to match function signaturesPatrick Steinhardt2019-07-201-1/+1
* tree: return `size_t` for treebuilder entrycountEdward Thomson2019-06-241-1/+1
* oid: `is_zero` instead of `iszero`Edward Thomson2019-06-161-1/+1
* strmap: introduce high-level setter for key/value pairsPatrick Steinhardt2019-02-151-5/+2
* strmap: introduce `git_strmap_get` and use it throughout the treePatrick Steinhardt2019-02-151-13/+2
* maps: provide a uniform entry count interfacePatrick Steinhardt2019-02-151-2/+2
* maps: use uniform lifecycle management functionsPatrick Steinhardt2019-02-151-1/+1
* tree: cast filename length in git_tree__parse_rawEdward Thomson2019-01-251-2/+2
* git_error: use new names in internal APIs and usageEdward Thomson2019-01-221-27/+27
* object_type: use new enumeration namesethomson/index_fixesEdward Thomson2018-12-011-12/+12
* khash: remove intricate knowledge of khash typesPatrick Steinhardt2018-11-281-2/+2
* tree: fix integer overflow when reading unreasonably large filemodesPatrick Steinhardt2018-11-021-13/+15
* tree: fix mode parsing reading out-of-boundsPatrick Steinhardt2018-11-021-3/+4
* tree: unify the entry validity checksCarlos Martín Nieto2018-10-081-29/+34
* Merge pull request #4727 from libgit2/cmn/null-oid-existing-treeEdward Thomson2018-08-261-6/+8
|\
| * tree: rename from_tree to validate and clarify the tree in the testcmn/null-oid-existing-treeCarlos Martín Nieto2018-07-271-6/+6
| * tree: accept null ids in existing trees when updatingCarlos Martín Nieto2018-07-181-6/+8
* | tree: implement function to parse raw dataPatrick Steinhardt2018-06-221-6/+19
|/
* tree: remove unused function `git_tree__prefix_position`Patrick Steinhardt2018-06-151-35/+0
* tree: remove unused function `git_tree_entry_icmp`Patrick Steinhardt2018-06-151-8/+0
* Convert usage of `git_buf_free` to new `git_buf_dispose`Patrick Steinhardt2018-06-101-4/+4
* path: reject .gitmodules as a symlinkCarlos Martín Nieto2018-05-231-1/+1
* Explicitly mark fallthrough cases with commentsPatrick Steinhardt2018-02-161-1/+1
* tree: reject writing null-OID entries to a treePatrick Steinhardt2018-01-261-0/+6
* tree: standard error messages are lowercaseethomson/tree_error_messagesEdward Thomson2017-12-311-10/+10
* Make sure to always include "common.h" firstPatrick Steinhardt2017-07-031-2/+2
* treebuilder: exit early if running OOM in `write_with_buffer`Patrick Steinhardt2017-03-281-3/+4
* treebuilder: remove shadowing variable in `write_with_buffer`Patrick Steinhardt2017-03-281-1/+1
* treebuilder: fix memory leaks in `write_with_buffer`Patrick Steinhardt2017-03-281-7/+8
* strmap: remove GIT__USE_STRMAP macroPatrick Steinhardt2017-02-171-2/+0
* khash: avoid using macro magic to get return addressPatrick Steinhardt2017-02-171-2/+2
* Merge pull request #3892 from mitesch/shared_bufferEdward Thomson2017-01-211-15/+30
|\
| * write_tree: use shared buffer for writing treesMichael Tesch2016-12-121-15/+30
* | giterr_set: consistent error messagesEdward Thomson2016-12-291-5/+5
* | tree: look for conflicts in the new tree when updatingcmn/tree-updater-orderingCarlos Martín Nieto2016-11-141-0/+3
* | tree: use the sorted update list in our loopCarlos Martín Nieto2016-11-141-2/+2
* | common: cast precision specifiers to intPatrick Steinhardt2016-11-141-2/+2
* | tree: validate filename and OID length when parsing objectPatrick Steinhardt2016-10-071-1/+6
|/
* Merge pull request #3792 from edquist/miscEdward Thomson2016-05-261-1/+1
|\
| * Fix comment for GIT_FILEMODE_LINKCarl Edquist2016-05-181-1/+1
* | tree: handle removal of all entries in the updatercmn/remove-single-entryCarlos Martín Nieto2016-05-241-0/+9
* | tree: plug leaks in the tree updatercmn/tree-update-basenameCarlos Martín Nieto2016-05-191-3/+11
* | tree: use the basename for the entry removalCarlos Martín Nieto2016-05-191-1/+1
|/
* Introduce a function to create a tree based on a different onecmn/tree-updateCarlos Martín Nieto2016-05-171-0/+245
* Plug a few leaksCarlos Martín Nieto2016-03-311-0/+2