Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> writes: > Actually, it would even make sense to reduce the number of occurences of > "excludes" in the UI, e.g. support something like core.ignoresfile as an > alias for core.excludesfile, along the lines of: > > --- a/config.c > +++ b/config.c > @@ -723,7 +723,7 @@ static int git_default_core_config(const char *var, const char *value) > if (!strcmp(var, "core.askpass")) > return git_config_string(&askpass_program, var, value); > > - if (!strcmp(var, "core.excludesfile")) > + if (!strcmp(var, "core.excludesfile") || !strcmp(var, "core.ignoresfile")) > return git_config_pathname(&excludes_file, var, value); I somehow suspect this is going backwards. ".gitignore" may have been the original mistake; it is much more than ".cvsignore". But I do not deeply care either way. It just felt $path/git/ignore was out of place given $path/.git/info/exclude has been with us almost forever. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html