Mercurial > hg > config
changeset 137:e12176a453e4
note git global ignore silliness
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 07 Apr 2011 10:23:27 -0700 |
parents | a612a16f11a7 |
children | e873af1d1674 |
files | python/install_config.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/python/install_config.py Wed Mar 30 13:25:36 2011 -0700 +++ b/python/install_config.py Thu Apr 07 10:23:27 2011 -0700 @@ -69,3 +69,6 @@ PACKAGES="unison fluxbox antiword xclip graphviz python-dev python-lxml" print "Ensure the following packages are installed:" print "sudo apt-get install $PACKAGES" + +# setup git's global ignore, since git is silly about this and doesn't look for the file in the right place +subprocess.call('if which git; then git config --global core.excludesfile ~/.gitignore; fi', shell=True)