]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-37936: Remove some .gitignore rules that were intended locally. (GH-15542)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 27 Aug 2019 18:35:11 +0000 (11:35 -0700)
committerGitHub <noreply@github.com>
Tue, 27 Aug 2019 18:35:11 +0000 (11:35 -0700)
These appeared in commit c5ae169e1.  The comment on them, as well as
the presence among them of a rule for the .gitignore file itself,
indicate that the author intended these lines to remain only in their
own local working tree -- not to get committed even to their own repo,
let alone merged upstream.

They did nevertheless get committed, because it turns out that Git
takes no notice of what .gitignore says about files that it's already
tracking... for example, this .gitignore file itself.

Give effect to these lines' original intention, by deleting them. :-)

Git tip, for reference: the `.git/info/exclude` file is a handy way
to do exactly what these lines were originally intended to do.  A
related handy file is `~/.config/git/ignore`.  See gitignore(5),
aka `git help ignore`, for details.

https://bugs.python.org/issue37936

Automerge-Triggered-By: @zware
(cherry picked from commit 8c9e9b0cd5b24dfbf1424d1f253d02de80e8f5ef)

Co-authored-by: Greg Price <gnprice@gmail.com>
.gitignore

index 9445ef1e2c525215342b488ca28a3042c72ded8c..9c0c2ef07a1dc8820ba24ce645716af9f6dfcf7e 100644 (file)
@@ -1,14 +1,8 @@
-# added for local development
-.buildaix/
-Modules/python.exp
-buildaix/
-installp/
-.gitignore
-
 # 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
 *.iml
 *.o