https://pantsbuild.org/ logo
#general
Title
# general
n

nice-florist-55958

03/21/2022, 2:30 AM
Does Pants only consider the root
.gitignore
when deciding what to augment its global ignore option with? I notice that if, e.g.,
*.csv
is in
.gitignore
and
!exempt_csv.csv
is in
./proj/apps/someapp/assets/.gitignore
, then git will track
./proj/apps/someapp/assets/exempt_csv.csv
but Pants will continue to ignore and exclude it from packaging.
h

happy-kitchen-89482

03/21/2022, 3:49 PM
I believe so, I recall @hundreds-breakfast-49010 trying to get hierarchical gitignore to work and it was surprisingly complex for some reason
4 Views