summaryrefslogtreecommitdiff
path: root/src/tree.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* tree: drop the now-unnecessary entries vectorEdward Thomson2016-03-221-44/+29
* tree: store the entries in a growable arraycmn/tree-reuseCarlos Martín Nieto2016-03-201-57/+36
* tree: re-use the id and filename in the odb objectCarlos Martín Nieto2016-03-201-39/+51
* treebuilder: don't try to verify submodules exist in the odbcmn/treebuilder-submoduleCarlos Martín Nieto2016-03-041-1/+2
* treebuilder: validate tree entries (optionally)Edward Thomson2016-02-281-0/+15
* tree: zap warnings around `size_t` vs `uint16_t`Edward Thomson2016-02-161-10/+16
* tree: mark a tree as already sortedcmn/tree-is-sortedCarlos Martín Nieto2015-12-061-1/+2
* tree: use a specialised mode parse functioncmn/parse-modeCarlos Martín Nieto2015-12-021-5/+21
* tree: mark cloned tree entries as un-pooledPatrick Steinhardt2015-12-011-0/+2
* tree: ensure the entry filename fits in 16 bitscmn/tree-parse-speedCarlos Martín Nieto2015-11-301-16/+26
* tree: make path len uint16_t and avoid holesCarlos Martín Nieto2015-11-281-1/+1
* tree: calculate the filename length onceCarlos Martín Nieto2015-11-281-5/+8
* tree: pool the entry memory allocationsCarlos Martín Nieto2015-11-281-5/+29
* tree: avoid advancing over the filename multiple timesCarlos Martín Nieto2015-11-281-4/+2
* tree: add more correct error messages for not foundCarlos Martín Nieto2015-03-171-2/+2
* Remove extra semicolon outside of a functionStefan Widgren2015-02-151-1/+1
* Make our overflow check look more like gcc/clang'sEdward Thomson2015-02-131-11/+7
* overflow checking: don't make callers set oomEdward Thomson2015-02-121-3/+1
* allocations: test for overflow of requested sizeEdward Thomson2015-02-121-5/+13
* treebuilder: rename _create() to _new()cmn/treebuilder-newCarlos Martín Nieto2014-12-271-2/+2
* treebuilder: take a repository for path validationEdward Thomson2014-12-171-14/+16
* tree: Check for `.git` with case insensitivyVicent Marti2014-12-161-1/+1
* index: fill the tree cache on write-treeCarlos Martín Nieto2014-10-101-1/+16
* index: write out the tree cache extensionCarlos Martín Nieto2014-10-101-2/+2
* tree: free in error conditionsCarlos Martín Nieto2014-06-251-0/+2
* treentry: no need for manual size book-keepingcmn/treebuilder-perfCarlos Martín Nieto2014-06-101-9/+6
* treebuilder: don't keep removed entries aroundCarlos Martín Nieto2014-06-101-34/+17
* treebuilder: use a map instead of vector to store the entriesCarlos Martín Nieto2014-06-101-49/+74
* treebuilder: insert sortedcmn/treebuilder-insert-sortedCarlos Martín Nieto2014-06-101-2/+2
* Convert pqueue to just be a git_vectorRussell Belfer2014-02-041-2/+4
* tree: remove legacy 'oid' namingCarlos Martín Nieto2014-01-251-3/+3
* index: rename an entry's id to 'id'Carlos Martín Nieto2014-01-251-1/+1
* Align git_tree_entry_dup.Arthur Schreiber2014-01-141-9/+8
* One more rename/cleanup for callback err functionsRussell Belfer2013-12-111-5/+11
* Remove converting user error to GIT_EUSERRussell Belfer2013-12-111-10/+12
* Further EUSER and error propagation fixesRussell Belfer2013-12-111-9/+4
* tree: allow retrieval of raw attributesCarlos Martín Nieto2013-10-081-3/+6
* Fix memory leak in git_tree_walk on error or when stopping the walk from the ...wilke2013-09-131-1/+2
* Prevent git_tree_walk 'skip entry' callback return code from leaking through ...wilke2013-09-131-1/+3
* Better macro name for is-exec-bit-set testRussell Belfer2013-09-051-1/+1
* Add more file mode permissions macrosRussell Belfer2013-09-051-6/+6