Hey! These docs are for version 2.10, which is no longer officially supported. Click here for the latest version, 2.14!

Tell Pants to detect what files and targets have changed from Git.

See 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).


dependees

--changed-dependees=<DependeesOption>
PANTS_CHANGED_DEPENDEES
one of: none, direct, transitive
default: none

Include direct or transitive dependees of changed targets.


Advanced options

None

Deprecated options

None