We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f759ddf commit f2e1dfbCopy full SHA for f2e1dfb
src/wrapper/repository_wrapper.cpp
@@ -426,7 +426,7 @@ size_t repository_wrapper::shallow_depth_from_head() const
426
if (parent_list.size() > 0u)
427
{
428
has_parent = true;
429
- for (size_t j = 0u; parent_list.size(); j++)
+ for (size_t j = 0u; j < parent_list.size(); ++j)
430
431
const commit_wrapper& c = parent_list[j];
432
temp_commits_list.push_back(std::move(const_cast<commit_wrapper&>(c)));
0 commit comments