Skip to content

Commit f2e1dfb

Browse files
authored
small fix (#137)
1 parent f759ddf commit f2e1dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wrapper/repository_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ size_t repository_wrapper::shallow_depth_from_head() const
426426
if (parent_list.size() > 0u)
427427
{
428428
has_parent = true;
429-
for (size_t j = 0u; parent_list.size(); j++)
429+
for (size_t j = 0u; j < parent_list.size(); ++j)
430430
{
431431
const commit_wrapper& c = parent_list[j];
432432
temp_commits_list.push_back(std::move(const_cast<commit_wrapper&>(c)));

0 commit comments

Comments
 (0)