gitweb: Skip nonmatching lines in difftree output, consistently