All of lore.kernel.org
 help / color / mirror / Atom feed
* Mac OS X Git Packaging Problem
@ 2015-11-24 19:08 Robert Crews
  0 siblings, 0 replies; only message in thread
From: Robert Crews @ 2015-11-24 19:08 UTC (permalink / raw)
  To: git

This is a bug report for the Mac OS X packaging at
http://git-scm.com/download/mac . It is not so much a
software bug as a nonoptimal configuration setting.

Requested Change
Remove the line "excludesfile = ~/.gitignore" under [core] from
/usr/local/git/etc/gitconfig

Reasons:

#1
The documentation at http://git-scm.com/docs/gitignore says the default
global excludes file is at $HOME/.config/git/ignore. The file
$HOME/.config/git/ignore is installed, and does indeed have good default
content, but because of the setting in /usr/local/git/etc/gitconfig, the
file is blocked from being reached.

#2
Seems to me the global excludesFile should never be called .gitignore --
better to be called .gitignore_global -- since the .gitignore name would
prevent a local .gitignore from being included there. I personally don't
have my $HOME directory under git control, but if I did, I might want a
custom .gitignore. And if I did want that, I would be required to set my
global file explicitly in my own ~/.gitconfig:
  git config --global core.excludesFile "~/.gitignore_global"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-24 19:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24 19:08 Mac OS X Git Packaging Problem Robert Crews

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.