vendor/libgit2/src/sysdir.c in rugged-0.25.1.1 vs vendor/libgit2/src/sysdir.c in rugged-0.26.0b1
- old
+ new
@@ -148,11 +148,11 @@
GITERR_CHECK_ERROR(git_sysdir_check_selector(which));
GITERR_CHECK_ERROR(git_sysdir_get(&path, which));
if (!out || path->size >= outlen) {
- giterr_set(GITERR_NOMEMORY, "Buffer is too short for the path");
+ giterr_set(GITERR_NOMEMORY, "buffer is too short for the path");
return GIT_EBUFS;
}
git_buf_copy_cstr(out, outlen, path);
return 0;
@@ -239,10 +239,10 @@
return 0;
}
done:
git_buf_free(path);
- giterr_set(GITERR_OS, "The %s file '%s' doesn't exist", label, name);
+ giterr_set(GITERR_OS, "the %s file '%s' doesn't exist", label, name);
return GIT_ENOTFOUND;
}
int git_sysdir_find_system_file(git_buf *path, const char *filename)
{