From 0b44c06599a446edb7523a9eead207817798111b Mon Sep 17 00:00:00 2001 From: nulltoken Date: Tue, 17 Jan 2012 14:35:04 +0100 Subject: [PATCH] repository: add the invalid repository path to the error message --- src/repository.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }