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
Currently, in order to create signed commit, kevlar-laces creates an unsigned commit and stores it in the ODB, then amends it and adds a signature to the header, returning the second commit. This leaves the repo littered with unused objects. To fix this, we want to use the libgit2 function commit_to_buf, which creates the commit without saving it to the object database first, and then use the commit_signed gitrs method to add the signature and write the commit to the ODB.
The bindings for this particular function have not been added to git2rs.
The text was updated successfully, but these errors were encountered:
Currently, in order to create signed commit, kevlar-laces creates an unsigned commit and stores it in the ODB, then amends it and adds a signature to the header, returning the second commit. This leaves the repo littered with unused objects. To fix this, we want to use the libgit2 function
commit_to_buf
, which creates the commit without saving it to the object database first, and then use thecommit_signed
gitrs method to add the signature and write the commit to the ODB.The bindings for this particular function have not been added to git2rs.
The text was updated successfully, but these errors were encountered: