X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=config.c;h=790405a213b12a4d1c62d9354e1292e0dc6af057;hb=0f2d01d4fcdf5422c679b4ee10e28323ee0b3dc7;hp=d2fc8f5f22782f7409915f9261a8c851d9d89a8e;hpb=2af9664776a237baa7ce67789bc5d2b54a36d95c;p=git.git diff --git a/config.c b/config.c index d2fc8f5f2..790405a21 100644 --- a/config.c +++ b/config.c @@ -636,10 +636,7 @@ int git_config(config_fn_t fn, void *data) char *repo_config = NULL; const char *home = NULL; - /* $GIT_CONFIG makes git read _only_ the given config file, - * $GIT_CONFIG_LOCAL will make it process it in addition to the - * global config file, the same way it would the per-repository - * config file otherwise. */ + /* Setting $GIT_CONFIG makes git read _only_ the given config file. */ if (config_exclusive_filename) return git_config_from_file(fn, config_exclusive_filename, data); if (git_config_system() && !access(git_etc_gitconfig(), R_OK))