-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Improve listing performance by using go-git #6478
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
39 commits
Select commit
Hold shift + click to select a range
034c4b9
Use go-git for tree reading and commit info lookup.
filipnavara ed4b558
Use TreeEntry.IsRegular() instead of ObjectType that was removed.
filipnavara 7f21e2f
Use the treePath to optimize commit info search.
filipnavara 268bb79
Extract the latest commit at treePath along with the other commits.
filipnavara abab5ae
Fix listing commit info for a directory that was created in one commi…
filipnavara e4f68c6
Avoid nearly all external 'git' invocations when doing directory list…
filipnavara 403596e
Use go-git for reading blobs.
filipnavara 8a5ab23
Make SHA1 type alias for plumbing.Hash in go-git.
filipnavara 77996d6
Make Signature type alias for object.Signature in go-git.
filipnavara f64b5d5
Fix GetCommitsInfo for repository with only one commit.
filipnavara 97501ea
Fix PGP signature verification.
filipnavara cced8c1
Fix issues with walking commit graph across merges.
filipnavara e121188
Fix typo in condition.
filipnavara 9eef362
Speed up loading branch list by keeping the repository reference (and…
filipnavara a6155d5
Fix lising submodules.
filipnavara aeb6caf
Fix build
filipnavara 157380e
Add back commit cache because of name-rev
filipnavara 10d74c0
Fix tests
filipnavara 6370c0b
Fix code style
filipnavara 43bfdaf
Fix spelling
filipnavara 35b4419
Address PR feedback
filipnavara 29788d0
Update vendor module list
e28ede0
Fix getting trees by commit id
filipnavara 63a788e
Fix remaining unit test failures
filipnavara 1a0a1ae
Fix GetTreeBySHA
filipnavara 2801e13
Avoid running `git name-rev` if not necessary
filipnavara cf4ca84
Move Branch code to git module
filipnavara c9ff5c5
Clean up GPG signature verification and fix it for tagged commits
filipnavara 8f42467
Merge branch 'master' into perf-read
techknowlogick b2ab511
Address PR feedback (import formatting, copyright headers)
filipnavara 0e81166
Merge branch 'master' into perf-read
techknowlogick 6b17e9b
Merge remote-tracking branch 'upstream/master' into perf-read
filipnavara 5ddbcd7
Make blob lookup by SHA working
filipnavara beef9e0
Update tests to use public API
filipnavara b11cf53
Allow getting content from any type of object through the blob interface
filipnavara 0ee4399
Change test to actually expect the object content that is in the GIT …
filipnavara e3c3123
Change one more test to actually expect the object content that is in…
filipnavara ca7e1e6
Merge branch 'master' into perf-read
zeripath c036283
Add comments
filipnavara 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
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's strange before tests PASSed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment above. It's actually identical test with identical content.