]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Be more specific about the `.so` gitignore patterns (GH-17328)
authorAnthony Sottile <asottile@umich.edu>
Wed, 27 Nov 2019 04:54:46 +0000 (20:54 -0800)
committerZachary Ware <zach@python.org>
Wed, 27 Nov 2019 04:54:46 +0000 (22:54 -0600)
In GH-15823 the pattern was changed from `libpython*.so*` to `*.so*` which
matches a bit too greedily for some packagers.  For instance this trips up
`debian/README.source`.  A more specific pattern fixes this issue.

.gitignore

index b11f72f69fae56529a70a2fe13ac64c3f14d74cc..8c1f8a43075a485a7eb3a05568ecb589dff345a8 100644 (file)
@@ -6,7 +6,8 @@
 *.iml
 *.o
 *.a
-*.so*
+*.so
+*.so.*
 *.dylib
 *.dll
 *.orig