8000 bpo-37936: Remove some .gitignore rules that were intended locally. (… · python/cpython@caf7a30 · GitHub
[go: up one dir, main page]

Skip to content

Commit caf7a30

Browse files
bpo-37936: Remove some .gitignore rules that were intended locally. (GH-15542)
These appeared in commit c5ae169. 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) 8000 , aka `git help ignore`, for details. https://bugs.python.org/issue37936 Automerge-Triggered-By: @zware (cherry picked from commit 8c9e9b0) Co-authored-by: Greg Price <gnprice@gmail.com>
1 parent d5ba8bb commit caf7a30

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
# added for local development
2-
.buildaix/
3-
Modules/python.exp
4-
buildaix/
5-
installp/
6-
.gitignore
7-
81
# Two-trick pony for OSX and other case insensitive file systems:
92
# Ignore ./python binary on Unix but still look into ./Python/ directory.
103
/python
114
!/Python/
5+
126
*.cover
137
*.iml
148
*.o

0 commit comments

Comments
 (0)
0