Use revision range to filter out nonlocal commits to begin with.
Filter out boundary commits (spuriously generated by git blame).