Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed get_parent_list
  • Loading branch information
JohanMabille committed Jan 9, 2026
commit 9ca9958e03a150117ffffc6c47c958cc2b637eb5
2 changes: 1 addition & 1 deletion src/wrapper/commit_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ commit_list_wrapper commit_wrapper::get_parents_list() const
std::vector<commit_wrapper> parents_list;
parents_list.reserve(parent_count);

for (size_t i=0; parent_count; ++i)
for (size_t i=0; i < parent_count; ++i)
{
git_commit* parent;
git_commit_parent(&parent, *this, i);
Expand Down