diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-20 02:39:48 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-20 02:39:48 -0700 |
commit | 9e37f72afe49c133bfc54b17b659b2ae6f189b7f (patch) | |
tree | 98aa954b22b9a24563da7e187fe034ef73831601 /config.c | |
parent | Merge branch 'jc/waitpid' into next (diff) | |
parent | git_config: access() returns 0 on success, not > 0 (diff) | |
download | tgif-9e37f72afe49c133bfc54b17b659b2ae6f189b7f.tar.xz |
Merge branch 'pb/config' into next
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -335,7 +335,7 @@ int git_config(config_fn_t fn) if (home) { char *user_config = strdup(mkpath("%s/.gitconfig", home)); - if (access(user_config, R_OK) > 0) + if (!access(user_config, R_OK)) ret = git_config_from_file(fn, user_config); free(user_config); } |