Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-11-20 22:24:18 +0400
committerRussell Belfer <rb@github.com>2012-11-20 22:24:18 +0400
commitcc6b4162de59013b5357ec35a1806fc5c9b29148 (patch)
tree36a4cd712ce5956d8a07fae33b1217df13623b23 /src/config.c
parenta9069f6154d34c93d644a9eb4c2da55b01468982 (diff)
It is okay to not have a .gitconfig file
Opening a repo is generating an error if you don't have a .gitconfig file in your home directory, but that should be legal.
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 412965b73..fc9ea65fe 100644
--- a/src/config.c
+++ b/src/config.c
@@ -93,7 +93,7 @@ int git_config_add_file_ondisk(
assert(cfg && path);
if (!git_path_isfile(path)) {
- giterr_set(GITERR_CONFIG, "File '%s' doesn't exists.", path);
+ giterr_set(GITERR_CONFIG, "Cannot find config file '%s'", path);
return GIT_ENOTFOUND;
}