mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-21 16:56:53 +00:00
revparse: unfound previous head return ENOTFOUND
This commit is contained in:
parent
3d78ab6427
commit
805c81594d
@ -178,6 +178,8 @@ static int walk_ref_history(git_object **out, git_repository *repo, const char *
|
|||||||
} else {
|
} else {
|
||||||
regmatch_t regexmatches[2];
|
regmatch_t regexmatches[2];
|
||||||
|
|
||||||
|
retcode = GIT_ENOTFOUND;
|
||||||
|
|
||||||
refloglen = git_reflog_entrycount(reflog);
|
refloglen = git_reflog_entrycount(reflog);
|
||||||
for (i=refloglen-1; i >= 0; i--) {
|
for (i=refloglen-1; i >= 0; i--) {
|
||||||
const char *msg;
|
const char *msg;
|
||||||
|
Loading…
Reference in New Issue
Block a user