Output can be restricted by specifying line ranges as
git blame -L <start>,<end>
Where <start> and <end> can be:
line number
git blame -L 10,30
/regex/
git blame -L /void main/, git blame -L 46,/void foo/
+offset, -offset (only for <end>)
git blame -...