This is a feature request for the maven plugin. Because there's already some nice git integration by way of the ratchet-from feature, I hope this isn't too much of a stretch. Rather than explicitly specifying a list of ignore patters, I would like to configure spotless to only look at files that are managed by git in the current branch. It should also consider staged files that are newly added but not committed.
Thanks!