Given a base branch master
and subdirectory A
in that branch, how can I list out all branches whose differences from master
contain changes in the contents of A
?
My use case: I'm doing a subtree split on an active repository with lots of branches and I need to migrate all the affected branches as well. I'd like to avoid having to manually inspect every branch's changes or contacting all the branch owners.