diff options
author | Jameson Miller <jamill@microsoft.com> | 2013-02-01 14:23:26 -0500 |
---|---|---|
committer | Jameson Miller <jamill@microsoft.com> | 2013-02-01 14:23:26 -0500 |
commit | 91f13a18d5e4b139f2ccc64467117a090d1faaf3 (patch) | |
tree | 77f538dfccff988c543931d392e3a1230e56b58d /src/fileops.c | |
parent | 329eee33871cc03133f5166a4e2908011f06b5b1 (diff) | |
download | libgit2-91f13a18d5e4b139f2ccc64467117a090d1faaf3.tar.gz |
Try harder to find global config file
Diffstat (limited to 'src/fileops.c')
-rw-r--r-- | src/fileops.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fileops.c b/src/fileops.c index 23cb07eb6..4ae9e3ab1 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -544,12 +544,6 @@ int git_futils_find_global_file(git_buf *path, const char *filename) /* try to look up file under path */ if (!win32_find_file(path, &root, filename)) return 0; - - /* No error if file not found under %HOME%, b/c we don't trust it, - * but do error if another var is set and yet file is not found. - */ - if (tmpl != tmpls) - break; } giterr_set(GITERR_OS, "The global file '%s' doesn't exist", filename); |