summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-11-20 10:24:18 -0800
committerRussell Belfer <rb@github.com>2012-11-20 10:24:18 -0800
commitcc6b4162de59013b5357ec35a1806fc5c9b29148 (patch)
tree36a4cd712ce5956d8a07fae33b1217df13623b23 /src/config.c
parenta9069f6154d34c93d644a9eb4c2da55b01468982 (diff)
downloadlibgit2-cc6b4162de59013b5357ec35a1806fc5c9b29148.tar.gz
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;
}