Skip to content

Commit 7297cef

Browse files
committed
fix signature view in commit tree
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.
1 parent 319bb31 commit 7297cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/cpplibostree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ namespace cpplibostree {
121121
// see ostree print_object for reference
122122
g_autoptr(OstreeGpgVerifyResult) result = nullptr;
123123
g_autoptr(GError) local_error = nullptr;
124-
result = ostree_repo_verify_commit_ext (repo, commit.parent.c_str(), nullptr, nullptr, nullptr,
124+
result = ostree_repo_verify_commit_ext (repo, commit.hash.c_str(), nullptr, nullptr, nullptr,
125125
&local_error);
126126
if (g_error_matches (local_error, OSTREE_GPG_ERROR, OSTREE_GPG_ERROR_NO_SIGNATURE) || local_error != nullptr) {
127127
/* Ignore */

0 commit comments

Comments
 (0)