| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Add Amend option to CommitOptions
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
plumbing: transport, handle IPv6 while parsing endpoint. Fixes #740
|
|/ / |
|
|\ \
| | |
| | | |
*: Improve docs on examples, compatibility and extensibility
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes #777
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \
| | | |
| | | | |
*: Bump dependencies
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- dario.cat/mergo v1.0.0
- github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95
- github.com/skeema/knownhosts v1.2.0
- golang.org/x/crypto v0.11.0
- golang.org/x/net v0.12.0
- golang.org/x/sys v0.10.0
- golang.org/x/text v0.11.0
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \
| | | |
| | | | |
*: Fix broken CI
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
apt-get is struggling to find libcurl4-openssl-dev out of the box.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \
| | | |
| | | | |
storage: filesystem/dotgit, add support for tmp_objdir prefix
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
*: Handle paths starting with ~Username
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \
| | | |
| | | | |
*: Handle paths starting with tilde
|
| | | | |
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
plumbing: blame, Complete rewrite. Fixes #603
|
|/ /
| |
| |
| | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \
| | |
| | | |
plumbing: packp, A request is not empty if it contains shallows. Fixes #328
|
|/ /
| |
| |
| | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \
| | |
| | | |
plumbing: http, Fix empty repos on Git v2.41+
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Git v2.41.0 comes with [changes](https://github.com/git/git/commit/933e3a4ee205353d8f093d5dfcd226fa432c4e58)
that breaks go-git's assumptions for when detecting empty repositories.
Go-git expects a flush instead of the first hash line. Instead, a dummy capabilities^{}
with zero-id is returned. The change aims to allow for identifying
the object format even when cloning empty
repositories.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \
| | | |
| | | | |
_examples: Remove wrong comment
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
perf: minor speedup for `doAddDirectory`
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
git: add a clone option to allow for shallow cloning of submodules
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This option matches the git clone option --shallow-submodules.
https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---no-shallow-submodules
|
|\ \ \ \ \
| | | | | |
| | | | | | |
git: fix the issue with submodules having the SCP style URL fail due to the wrong URL parsing
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
wrong URL parsing
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add SECURITY.md
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
plumbing: gitignore, Allow gitconfig to contain a gitignore relative to any user home. Fixes #578
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
user home. Fixes #578
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
git: Clone HEAD should not force master. Fixes #363
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \ \
| | | | |
| | | | | |
plumbing: gitignore, fix incorrect parsing. Fixes #500
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
git: don't add to wants if exists, shallow and depth 1
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Replace user dir in path
|
| | | | | |
| | | | | |
| | | | | | |
Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com>
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
home
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
git: enable fetch with unqualified references
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|
|\ \ \ \
| | | | |
| | | | | |
git: Fix fetching after shallow clone. Fixes #305
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
|