Skip to content

Commit

Permalink
fix signature view in commit tree
Browse files Browse the repository at this point in the history
This was a critical bug, where the signatures for each commit where displayed in the child commit. In addition to fixing this, I also verified the other displayed informations, which all display the right data.
  • Loading branch information
forgottosave committed Jul 17, 2024
1 parent 319bb31 commit 7297cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/cpplibostree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ namespace cpplibostree {
// see ostree print_object for reference
g_autoptr(OstreeGpgVerifyResult) result = nullptr;
g_autoptr(GError) local_error = nullptr;
result = ostree_repo_verify_commit_ext (repo, commit.parent.c_str(), nullptr, nullptr, nullptr,
result = ostree_repo_verify_commit_ext (repo, commit.hash.c_str(), nullptr, nullptr, nullptr,
&local_error);
if (g_error_matches (local_error, OSTREE_GPG_ERROR, OSTREE_GPG_ERROR_NO_SIGNATURE) || local_error != nullptr) {
/* Ignore */
Expand Down

0 comments on commit 7297cef

Please sign in to comment.