changed¶
Tell Pants to detect what files and targets have changed from Git.
See https://www.pantsbuild.org/v2.18/docs/advanced-target-selection.
Backend:
Config section: [changed]
Basic options¶
since
¶
--changed-since=<str>
PANTS_CHANGED_SINCE
default: None
Calculate changes since this Git spec (commit range/SHA/ref).
diffspec
¶
--changed-diffspec=<str>
PANTS_CHANGED_DIFFSPEC
default: None
Calculate changes contained within a given Git spec (commit range/SHA/ref).
dependents
¶
--changed-dependents=<DependentsOption>
PANTS_CHANGED_DEPENDENTS
one of: none, direct, transitive
default: none
Include direct or transitive dependents of changed targets.
Advanced options¶
None
Deprecated options¶
dependees
¶
--changed-dependees=<DependentsOption>
PANTS_CHANGED_DEPENDEES
one of: none, direct, transitive
default: none
Deprecated, is scheduled to be removed in version: 2.23.0.dev0.
Use --dependents instead
Include direct or transitive dependents of changed targets.