-
Notifications
You must be signed in to change notification settings - Fork 287
Gitoxide for performance improvements #635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
5d7b5c8
Add gitoxide as dependency
Byron 1bb11e6
get_logs() with gitoxide
Byron e3b29b0
Use gitoxide in all methods related to commits
Byron 8df0d19
obtain all but author information on the fly
Byron 954de84
no cloning for `Sig` and `Author` by using BString directly
Byron 0652bbe
Calculate authors on the fly as much as possible; don't store commits
Byron 65da5be
fix commit count
Byron 28deadf
refactor
Byron 2a67bb4
Use `gitoxide` for calculating repo size
Byron 9b2774c
refactor
Byron c42a1ef
gitoxide for tags; Fix author name and email printing; avoid doing unβ¦
Byron 615e071
Retrieve all branches with `gitoxide`
Byron 2c6016e
get most recent version with gitoxide
Byron f61761d
Collect branches at current head-commit with gitoxide
Byron 1942087
Assure short ids are not ambiguous
Byron 4fc3334
refactor
Byron 4085053
refactor
Byron 5394f3c
get worktree status in parallel
Byron d178a5c
gather language statistics in parallel to everything else
Byron 633f0ce
Do three things in parallel, don't wait for `Repo::new()`
Byron 6817e48
Don't take risks when making assumptions about what branches point at
Byron a5ab965
Tune the object cache based on scienceβ’οΈ
Byron 04ff547
Improve unification of contributors by taking the lower-case email asβ¦
Byron 397b4ae
Compute contributor identity using emails, lowercase, only
Byron 3f94c51
thanks clippy
Byron 82fbbb2
See if running onefetch on itself can reproduce the crashing on windows
Byron 1a494a9
support for shallow clones
Byron d3d20ed
Use email and name to identify contributors, similar to what git does
Byron eb753f9
Don't peel references - this would resolve remotes/origin/HEAD to β¦mainβ¦
Byron 927815a
Make clear that the commit count might be truncated due to shallow clβ¦
Byron b9b65c7
Update to use gitoxide's built-in shallow clone detection
Byron fb4d449
Remove additional deduplication of contributors by email
Byron 80f4710
switch gitoxide crates from git to crates.io
Byron 4159442
Improve Cargo.toml dependency declaration
Byron c6d7cba
Make expect("msg") more informative to help users file an issue
Byron d00ab45
refactor: put all commit-traversal related initialization into own stβ¦
Byron 7b34b0a
refactor: completely separate `Commits` and `Repo` structure
Byron b6cd415
refactor: git2 repository can now be owned by the `Repo` type
Byron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.