mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-07 13:43:43 +00:00
index.c: Fix typo
git__rethrow was missing an underscore.
This commit is contained in:
parent
c90bfec7aa
commit
9d27fd3bee
@ -287,7 +287,7 @@ int git_index_write(git_index *index)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((error = git_filebuf_commit(&file)) < GIT_SUCCESS)
|
if ((error = git_filebuf_commit(&file)) < GIT_SUCCESS)
|
||||||
return git_rethrow(error, "Failed to write index");
|
return git__rethrow(error, "Failed to write index");
|
||||||
|
|
||||||
if (gitfo_stat(index->index_file_path, &indexst) == 0) {
|
if (gitfo_stat(index->index_file_path, &indexst) == 0) {
|
||||||
index->last_modified = indexst.st_mtime;
|
index->last_modified = indexst.st_mtime;
|
||||||
|
Loading…
Reference in New Issue
Block a user