[Python-checkins] cpython (merge 3.4 -> default): 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/2e93da3d9f1e
changeset:   95774:2e93da3d9f1e
parent:      95772:e9ea679a92fa
parent:      95773:09d5bbf0f01d
user:        Christian Heimes <christian at python.org>
date:        Wed Apr 22 23:55:29 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
@@ -67,7 +71,6 @@
 platform
 pybuilddir.txt
 pyconfig.h
-python
 python-config
 python-config.py
 python.bat

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


More information about the Python-checkins mailing list