You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to implement something like git push --force-with-lease. libgit2/libgit2#4286 says that one can probably do that using the "push negotiation" callback, but it seems that git2-rs doesn't expose that yet.
The text was updated successfully, but these errors were encountered:
With this change, we no longer fail if the user moves a branch
sideways or backwards and then push.
The push should ideally only succeed if the remote branch is where we
thought it was (like `git push --force-with-lease`), but that requires
rust-lang/git2-rs#733 to be fixed first.
I'd like to implement something like
git push --force-with-lease
. libgit2/libgit2#4286 says that one can probably do that using the "push negotiation" callback, but it seems that git2-rs doesn't expose that yet.The text was updated successfully, but these errors were encountered: