aboutsummaryrefslogtreecommitdiffstats
path: root/utils/merkletrie/noder/path.go
Commit message (Collapse)AuthorAgeFilesLines
* simplified sparse checkoutJohn Cai2021-11-091-0/+8
| | | | | | | | | 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.
* Remove Unicode normalization in difftreeVadim Markovtsev2019-02-111-7/+3
| | | | | | Fixes #1057 Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
* examples,plumbing,utils: typo fixesferhat elmas2017-11-201-1/+1
|
* Normalize filenames before comparing.Josh Betz2017-07-311-1/+7
| | | | | | | | | Some multibyte characters can have multiple representations. Before comparing strings, we need to normalize them. In this case we're normalizing to normalized form C, but it shouldn't matter as long as both strings are normalized to the same form. Fixes https://github.com/src-d/go-git/issues/495
* Fix issue 275 (edited) (#276)Alberto Cortés2017-02-221-1/+30
| | | | | | | | | Fix #275 . It was not possible to write a test for this issue as the original fsnoder didn't support filenames with length > 1. Therefore this patch has 3 commits: add support for long filenames in fsnoder. add a test case for the issue using the new long filenames from step 1. fix the issue by comparing paths level by level instead of lexigographically over the whole path.
* delete old noder, create a new one in utils (#241)Alberto Cortés2017-01-301-0/+59