first trial of git2-to-gix
#4509
Merged
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.
When looking at
BranchListing
only, try to convert the usage ofgit2
related to branches to usinggix
instead.Do so without having while assuring that the output stays the same.
Follow-up of #4473.
Tasks
BranchListing
function to see the status quo (minimal)Follow-Up
async
? Sweeping changes.gix
#4543identity
typesafe. #4590git2
togix
.gix
#4632gix
for branch normalization #4665gix
: 2.6x faster! #4670Review Notes
tauri::command(async)
is entirely independent ofasync fn
, which means there is no need to pretend anymore. It seems no matter what,runtime::spawn
is used, so it should be fine. I'd rather do that instead of having fakeasync
functions, astauri
then at least knows these functions block so they should definitely be spawned asspawn_blocking()
. Not lying about this makes it easy to call these functions from the CLI