Commit 9d27fd3b by Jakob Pfender

index.c: Fix typo

git__rethrow was missing an underscore.
parent c90bfec7
...@@ -287,7 +287,7 @@ int git_index_write(git_index *index) ...@@ -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;
......
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