git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Mac OS X Git Packaging Problem

From
RCRobert Crews <rcrews@hortonworks.com>
Date
Nov 24, 2015, 19:08 UTC
Message-ID
<7a7427c556404e7ba18ca3f3abea42f5@MBX080-W6-CO-2.EXCH080.SERVERPOD.NET>

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"
Message 1 of 1 in “Mac OS X Git Packaging Problem”
  1. Robert CrewsNov 24, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.