diff options
| author | Russell Belfer <rb@github.com> | 2013-05-01 15:47:37 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2013-05-01 15:47:37 -0700 |
| commit | 1a9e406c218e3d5a174bc4f8dce0333d73d7bbff (patch) | |
| tree | 5d79457d263c957d01421ba3840c64161d049dd1 | |
| parent | bf6bebe22eff29c6b7ff744b809057acede4e615 (diff) | |
| download | libgit2-1a9e406c218e3d5a174bc4f8dce0333d73d7bbff.tar.gz | |
minor missing error message
| -rw-r--r-- | src/repository.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repository.c b/src/repository.c index e6eaf753c..44e7ca3c4 100644 --- a/src/repository.c +++ b/src/repository.c @@ -1598,6 +1598,7 @@ int git_repository_message(char *buffer, size_t len, git_repository *repo) if ((error = p_stat(git_buf_cstr(&path), &st)) < 0) { if (errno == ENOENT) error = GIT_ENOTFOUND; + giterr_set(GITERR_OS, "Could not access message file"); } else if (buffer != NULL) { error = git_futils_readbuffer(&buf, git_buf_cstr(&path)); |
