fresh-cat-90827
12/05/2023, 4:44 PM$ rm cheeseshop/repository/package.py
$ git add cheeseshop/
$ git commit -m "delete file"
[main b7f25cd] delete file
1 file changed, 395 deletions(-)
delete mode 100644 cheeseshop/repository/package.py
$ git log --diff-filter=D --summary | grep delete
delete file
delete mode 100644 cheeseshop/repository/package.py
$ pants --changed-since=origin/main list
cheeseshop/repository:repository
🧵fresh-cat-90827
12/05/2023, 4:44 PM$ pants --changed-since=origin/main list | xargs pants filedeps
BUILD
cheeseshop/repository/BUILD
cheeseshop/repository/__init__.py
cheeseshop/repository/properties.py
cheeseshop/repository/query.py
cheeseshop/repository/repository.py
cheeseshop/repository/types.py
It may be unfair to consider all of these files to be changed just because they were in the same directory / owned by the same target generator.
One could filter the target generators out with pants --changed-since=origin/main list | xargs pants --filter-target-type="-python_sources" filedeps, but this is not obvious, I think.curved-television-6568
12/05/2023, 5:09 PMhundreds-father-404
12/05/2023, 5:50 PMfresh-cat-90827
12/05/2023, 6:01 PMbroad-processor-92400
12/06/2023, 3:36 AM