summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-01-17 14:35:04 +0100
committernulltoken <emeric.fermas@gmail.com>2012-01-17 19:50:25 +0100
commit0b44c06599a446edb7523a9eead207817798111b (patch)
treed0becebcb626ab7e612a2084e91ed04d3d1b037a /src
parent86360ffdf7829d5cd12000067b9e73d3814e2347 (diff)
downloadlibgit2-0b44c06599a446edb7523a9eead207817798111b.tar.gz
repository: add the invalid repository path to the error message
Diffstat (limited to 'src')
-rw-r--r--src/repository.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c
index a408599f7..67bfcc916 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -169,7 +169,7 @@ int git_repository_open(git_repository **repo_out, const char *path)
if (quickcheck_repository_dir(&path_buf) < GIT_SUCCESS) {
error = git__throw(GIT_ENOTAREPO,
- "The given path is not a valid Git repository");
+ "The given path (%s) is not a valid Git repository", git_buf_cstr(&path_buf));
goto cleanup;
}