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