On Thu, Nov 26, 2009 at 13:00, Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> wrote: > Matthieu Moy venit, vidit, dixit 26.11.2009 11:35: >> Most users will set it to ~/.gitsomething. ~/.gitignore would conflict >> with per-directory ignore file if ~/ is managed by Git, so ~/.gitexcludes >> is a sane default. > > I'm sorry to jump in so late, and this may sound like bike-shedding, but > right now we have > > .git/info/exclude > .gitignore > > and this would add > > ~/.gitexcludes > > That is, three terms, or two, where one comes in two variations > (exclude/exludes). I always wondered why we have two. > > The reason for .gitignore is most probably the similarity to > .${othervcs}ignore, and that is a valid reason. > > I know we have ~/.gitconfig for the global version of .git/config, and > maybe that was just no good idea either. But I don't even dare > suggesting to rename it ~/.gitglobalconfig. > > So, in line at least with our term "global" (per user) config, I would > suggest to use "~/.gitglobalignore" for the global ignore file. Maybe, > eventually, we'll manage to rename .git/info/excludes to .git/info/ignore. > > On a somewhat larger scale, a good alternative strategy would be to have > a directory "~/.gitglobal/" in which Git would look for > ~/.gitglobal/config and > ~/.gitglobal/info/ignore or > ~/.gitglobal/ignore > > i.e. mirroring the repo structure or at least bundling everything in a > single dir, which would also be a good place for a global svnauthors > file and such, and for other global configuration files we don't think > of right now. I would vote for that too. Its more future-proof than a single new file. Also I would suggest to name this dir ~/.gitrc/. On the other hand the --global option to git config specifies the .gitconfig in your HOME. Bert > > Michael -- 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