Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #825 from candid82/master | Paulo Gomes | 2024-01-10 | 1 | -39/+37 |
|\ | | | | | Calculate filesystem node's hash lazily. | ||||
| * | utils: filesystem, Calculate filesystem node's hash lazily. | Roman Bataev | 2023-08-21 | 1 | -39/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main motivation behind this change is to speed up status operation. Currently it's very slow, especially for repositories with lots of ignored files (e.g. node.js repository with node_modules directory). One of the reasons for this slowness is the fact that traversing filesystem involves calculating file hashes for all files, even if those hashes are not needed in the end because the files are in gitignore. On my machine, for a random repository with sizable (ignored) node_modules directory this changes bring the execution time for Worktree.Status from ~3.5s to ~1.4s. This is still very slow, but a significant improvement. A better fix (instead of or in addition to this one) would be to avoid traversing ignored files in the first place. However, such change seem to be more intrusive and will require much deeper understanding of the codebase. | ||||
* | | utils: merkletrie, Skip loading sockets as filesystem nodes. Fixes #312 | steiler | 2023-11-19 | 1 | -0/+4 |
|/ | |||||
* | simplified sparse checkout | John Cai | 2021-11-09 | 1 | -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. | ||||
* | Dont skip error | Oleg Kovalov | 2020-07-06 | 1 | -2/+1 |
| | |||||
* | *: migration from gopkg to go modules | Máximo Cuadros | 2020-03-10 | 1 | -4/+4 |
| | |||||
* | update to go-billy.v4 and go-git-fixtures.v3 | Máximo Cuadros | 2017-11-23 | 1 | -1/+2 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | Fix support for dir symlinks | Dmitry Frank | 2017-11-10 | 1 | -0/+4 |
| | |||||
* | utils: merkletrie filesystem based on path, and not in filepath | Máximo Cuadros | 2017-07-19 | 1 | -3/+3 |
| | |||||
* | utils: merkletrie support for symlinks | Máximo Cuadros | 2017-06-18 | 1 | -6/+35 |
| | |||||
* | *: upgrade to go-billy.v3, merge | Máximo Cuadros | 2017-06-18 | 1 | -3/+3 |
| | |||||
* | worktree: reset and checkout support for submodules | Máximo Cuadros | 2017-04-15 | 1 | -7/+25 |
| | |||||
* | merkletrie: filesystem and index speedup and documentation | Máximo Cuadros | 2017-04-11 | 1 | -73/+89 |
| | |||||
* | merkletrie: node support for billy filesystems | Máximo Cuadros | 2017-04-11 | 1 | -0/+128 |