diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2023-04-03 11:27:03 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-04-04 09:05:15 +0100 |
commit | 19065e59601e6fd6f3041d4f9a6de8b105b27cc3 (patch) | |
tree | 00112c5ff612bda8b2e279551f3c4bf812f4caab /src/libgit2/repository.c | |
parent | dc7bca58eef9c9d2d0589e6363793b9425ff0be0 (diff) | |
download | libgit2-19065e59601e6fd6f3041d4f9a6de8b105b27cc3.tar.gz |
repo: change error message
"Could not find repository from ..." doesn't make sense. "Could not find
repository _at_ ..." does not indicate that we walked down the path
hierarchy, but at least it's more correct.
Diffstat (limited to 'src/libgit2/repository.c')
-rw-r--r-- | src/libgit2/repository.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgit2/repository.c b/src/libgit2/repository.c index e16413f76..00c139a64 100644 --- a/src/libgit2/repository.c +++ b/src/libgit2/repository.c @@ -757,7 +757,7 @@ static int find_repo( /* If we didn't find the repository, and we don't have any other error * to report, report that. */ if (!git_str_len(gitdir_path)) { - git_error_set(GIT_ERROR_REPOSITORY, "could not find repository from '%s'", start_path); + git_error_set(GIT_ERROR_REPOSITORY, "could not find repository at '%s'", start_path); error = GIT_ENOTFOUND; goto out; } |