Skip to content
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

packed-refs - write-through - apply creates/updates to packed-refs and optionally delete the original refs (purge) #139

Closed
Byron opened this issue Jul 28, 2021 · 0 comments

Comments

@Byron
Copy link
Owner

Byron commented Jul 28, 2021

No description provided.

Byron added a commit that referenced this issue Jul 28, 2021
Byron added a commit that referenced this issue Jul 28, 2021
Byron added a commit that referenced this issue Jul 28, 2021
Byron added a commit that referenced this issue Jul 28, 2021
It's surprisingly easy to implement as well, neat.
Byron added a commit that referenced this issue Jul 28, 2021
Reinvent the wheel less - after all we will need access to `git-object`
or delegate all chain following to the caller.

An alternative would be a feature-gated implementation of the resolution
algorithm behind behind function signature that doesn't know git-object,
but it's certainly not worth it.

Let's also think of revparsing, which definitely needs some git-object
access too.
@Byron Byron closed this as completed Jul 29, 2021
Byron added a commit that referenced this issue Jul 29, 2021
…primarily because the packed refs aren't actually created.
Byron added a commit that referenced this issue Jul 29, 2021
Byron added a commit that referenced this issue Jul 29, 2021
Even though we might want to filter this to only tags, we can't as
reference paths don't have to follow conventions. We just try to
peel tags and that's it, without even decoding the object.
Furthermore, tags are iterated to avoid any unnecessary work
there as well.
Byron added a commit that referenced this issue Jul 29, 2021
Byron added a commit that referenced this issue Jul 29, 2021
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

No branches or pull requests

1 participant