Commit 4cacf5b5 by Vicent Marti

merge-base: Do not read parents from the root

parent 136a71f4
...@@ -318,7 +318,7 @@ static void clear_commit_marks_1(git_commit_list **plist, ...@@ -318,7 +318,7 @@ static void clear_commit_marks_1(git_commit_list **plist,
git_commit_list_insert(p, plist); git_commit_list_insert(p, plist);
} }
commit = commit->parents[0]; commit = commit->out_degree ? commit->parents[0] : NULL;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment