aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/treenoder.go
Commit message (Collapse)AuthorAgeFilesLines
* plumbing: object, Apply memoization in (*treeNoder).Children.onee-only2024-03-101-1/+3
|
* simplified sparse checkoutJohn Cai2021-11-091-0/+4
| | | | | | | | | This is the initial logic to support a simple sparse checkout where directories to be included can be specified in CheckoutOptions. This change doesn't fully support the sparse patterns, nor does this change include the optimization to collapse flie entries in ithe index that are excluded via the sparse checkout directory patterns included under the parent directory.
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-3/+3
|
* plumbing: use `seen` map in tree walkerJeremy Stribling2017-08-271-1/+1
| | | | | | | This helps avoids iterating down the same trees for every commit. For a big-ish repo with 35K objects (17K commits), this reduced the time for calling `revlist.Objects` during a push (with 0 hashes to ignore) from more than ten minutes to less than a minute.
* merkletrie: filesystem and index speedup and documentationMáximo Cuadros2017-04-111-18/+11
|
* plumbing: object, public Tree.FindEntry and minor diff changesMáximo Cuadros2017-04-111-3/+4
|
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-3/+3
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* difftree: simplify hash comparison with deprecated files modesAlberto Cortés2017-03-031-0/+10
| | | | | | | | | | Difftree hash comparisson was quite complex because the hashes of deprecated files were diferent from the hashes of regular files. But git's difftree really treat them as equal. This patch fix this by making treenoder return the same hash for regular files than for deprecated files; now the hash comparison function is just a bytes.Equal call.
* replace os.FileMode use with filemode.FileModeAlberto Cortés2017-03-011-14/+6
|
* plumbing/object: move difftree to object packageAntonio Jesus Navarro Perez2017-02-241-0/+140
- To avoid ciclic dependency errors, we move all the difftree files to object package. - Added Diff method to Tree object.