mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 23:03:35 +00:00
parent
52d552e901
commit
d6ccedddd2
@ -370,6 +370,7 @@ static int dirent_cb(void *state, git_buf *a)
|
|||||||
if (git_tree_entry_type(m) == GIT_OBJ_TREE)
|
if (git_tree_entry_type(m) == GIT_OBJ_TREE)
|
||||||
git_path_to_dir(&st->head_tree_relative_path);
|
git_path_to_dir(&st->head_tree_relative_path);
|
||||||
|
|
||||||
|
error = git_buf_lasterror(&st->head_tree_relative_path);
|
||||||
if (error < GIT_SUCCESS)
|
if (error < GIT_SUCCESS)
|
||||||
return git__rethrow(error, "An error occured while determining the status of '%s'", a->ptr);
|
return git__rethrow(error, "An error occured while determining the status of '%s'", a->ptr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user