Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make "./pants changed" output correct results when BUILD files are modified #4282
Currently with v2 engine, if a dir has more than 1 BUILD file, changing only 1 of them will cause "./pants changed" output all targets in that dir, even though some targets are not defined in the changed BUILD file.
In is_declaring_file method, since Address object does not have information about declaring BUILD file, the result is not accurate.