aboutsummaryrefslogtreecommitdiffstats
path: root/utils/merkletrie/noder
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #418 from abhinav/unusedMáximo Cuadros2021-12-101-14/+0
|\ | | | | Remove unused vars/types/funcs/fields
| * Remove unused variables/types/functionsAbhinav Gupta2021-11-271-14/+0
| | | | | | | | | | | | | | | | [staticcheck](https://staticcheck.io/) reported a number of unused fields, functions, types, and variables across the code. Where possible, use them (assert unchecked errors in tests, for example) and otherwise remove them.
* | simplified sparse checkoutJohn Cai2021-11-093-0/+10
|/ | | | | | | | | 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.
* *: avoid unnecessary conversionsChristian Muehlhaeuser2019-07-291-2/+2
| | | | | | | No need to convert these values, they're already of the right type. Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com> (cherry picked from commit a1d8a7ac8bd0e4aff0f27dbb8bb37b8bd13a1346)
* Remove Unicode normalization in difftreeVadim Markovtsev2019-02-112-9/+9
| | | | | | Fixes #1057 Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
* examples,plumbing,utils: typo fixesferhat elmas2017-11-201-1/+1
|
* worktree: normalized string comparison testsMáximo Cuadros2017-08-021-1/+11
|
* 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-223-2/+188
| | | | | | | | | 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-303-0/+212