← Back
GitHub
GitHub Mobile now supports commenting on unchanged lines in pull request diffs
GitHub · featureplatformrelease · github.blog ↗

Overview

GitHub Mobile has enhanced its pull request review capabilities with the ability to comment on unchanged lines within diff views. Previously, the mobile app limited comments to lines directly surrounding actual code changes, restricting reviewers' ability to provide comprehensive feedback.

What's New

  • Expanded commenting scope: Reviewers can now expand diffs to reveal unchanged code and leave comments or suggested changes anywhere in the file
  • Bidirectional comment display: Comments added on unchanged lines via github.com are also visible and editable in GitHub Mobile
  • Full context preservation: Reviewers maintain access to surrounding code context without losing visibility of the actual changes

Benefits for Developers

This feature enables more thorough code reviews by allowing:

  • Flagging changes that should have been made but weren't
  • Suggesting updates and improvements beyond the immediate diff context
  • Adding helpful context for reviewers on unchanged parts of a file
  • Maintaining consistency between web and mobile review experiences

Availability

The update is immediately available on the latest production builds of GitHub Mobile for both iOS and Android.