-
Notifications
You must be signed in to change notification settings - Fork 528
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
rebased commits are not re-signed #3147
Comments
I'm able to reproduce the issue. I'll like to work on it. Hope to have a fix ready by Monday. |
I'll create a more detailed PR soon. But I was able to figure out a fix. The problem is I was able to make it work by figuring out a workaround by using the
rebase.commit we call the commit function in such a way that it mimics the way rebase.commit would have worked.
Here's a sample piece of code which achieves it ( it's still WIP. I wanted to share it earlier to get feedback )
Thoughts @schacon |
There's also a parameter in the rebase options of libgit2 – There is already an open issue about this rust-lang/git2-rs#850 and I was thinking of contributing a fix upstream as well so that we'll be able to use it in our codebase. |
When a branch is updated and commits are rebased and SSH signing is on, we do not properly re-sign the commits. We should be checking for the signing option and re-signing commits that are rebased.
The text was updated successfully, but these errors were encountered: