aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/treenoder.go
Commit message (Collapse)AuthorAgeFilesLines
* 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.