-
Notifications
You must be signed in to change notification settings - Fork 899
Add Cherry-pick and Revert functionality to ObjectDatabase #1323
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
Add Cherry-pick and Revert functionality to ObjectDatabase #1323
Conversation
/// </summary> | ||
public virtual MergeTreeStatus Status { get; private set; } | ||
} | ||
} |
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.
nit: can we end files with a trailing newline
I think it would be better if both |
Thank you @jkoritzinsky for this very nice PR! |
This looks really good to me. One question: do we need separate |
We can use a single class, but I am having trouble coming up with a good name. Do you have any suggestions? |
I, personally, would be okay with using |
👍 |
I also like |
Great! Can you squash this and I'll merge it? Thanks! |
… object database. Added support for revert in a bare repository. Updated CanRevertInObjectDatabase to not use a checkout and to just use commit refs. Changed methods to use `MergeTreeResult` and fixed incorrect name in argument validation.
9e324d7
to
d59c673
Compare
Squashed! |
This PR adds support for cherry-picking and reverting commits using the
*_commit
functions from libgit2 to allow cherry picking and reverting on a bare repository.