[Python-checkins] cpython (3.4): Next attempt: fix .gitignore for Unix and OSX. Sorry RDM!

christian.heimes python-checkins at python.org
Wed Apr 22 23:55:38 CEST 2015


https://hg.python.org/cpython/rev/09d5bbf0f01d
changeset:   95773:09d5bbf0f01d
branch:      3.4
parent:      95770:efcccb70a84c
user:        Christian Heimes <christian at python.org>
date:        Wed Apr 22 23:54:44 2015 +0200
summary:
  Next attempt: fix .gitignore for Unix and OSX. Sorry RDM!

files:
  .gitignore |  5 ++++-
  1 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,7 @@
+# Two-trick pony for OSX and other case insensitive file systems:
+# Ignore ./python binary on Unix but still look into ./Python/ directory.
+/python
+!/Python/**
 *.cover
 *.o
 *.orig
@@ -58,7 +62,6 @@
 platform
 pybuilddir.txt
 pyconfig.h
-python
 python-config
 python-config.py
 python.exe

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list