Commit 805c8159 by nulltoken

revparse: unfound previous head return ENOTFOUND

parent 3d78ab64
......@@ -178,6 +178,8 @@ static int walk_ref_history(git_object **out, git_repository *repo, const char *
} else {
regmatch_t regexmatches[2];
retcode = GIT_ENOTFOUND;
refloglen = git_reflog_entrycount(reflog);
for (i=refloglen-1; i >= 0; i--) {
const char *msg;
......
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