Skip to content

improvements for onefetch #368

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 27 commits into from
Mar 31, 2022
Merged

improvements for onefetch #368

merged 27 commits into from
Mar 31, 2022

Conversation

Byron
Copy link
Member

@Byron Byron commented Mar 29, 2022

Related to #364

Byron added 26 commits March 29, 2022 20:48
Allocation-free parent retrieval.
The methods returning an iterator are now consuming, which allows
them to be nested by callers.
Also: parent_ids() queryable directly on commit.
It's a type with only copyable types inside, so should be copy itself.
This makes it less awkward to use as well.
Get a short-hand for any reference name.
A way to classify references.
It's definitely more intuitive that way.
A long-needed shortcut.
A shortcut to get to the commit much faster.
A shortcut to allow for fluid retrival of the `committer.time`.
This helps to tune caches.

Linux v5.16

- Max commit Size: 74428
- Avg commit Size: 833
This is not what git seems to do, but it yields better results
as more entries are unified and assigned to their respective authors.

And it's valid, as emails are case-insensitive so they should match
that way when unifying them.
It's separated from parsing to assure we can round-trip, but it's
made easy to obtain trimmed results using new methods.

This high-level git-repository will also trim by default now.
This results in one less name counted in the linux kernel, which
probably means that one name (maybe a bot) was used to commit a commit.

That's acceptable inaccuracy.
@Byron Byron merged commit beb478f into main Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant