Two-column views of commits to files

Until today, I imagined that this was a feature of Refined GitHub.

For example, from a post to FreeBSD Forums:

  • pre-commit to the left
  • committed to the right, in green.

Today I realised, there’s just one column when I view the same GitHub URL in a private window (without signing in):

Is the two column view a feature of GitHub?

Not presented to the public (without signing in)?

nope, I click the link using incognito, not signed in,

you both have the view, just either click, Split or Unified

1 Like

Thanks!

So I can manually edit the URL, for other readers to get what’s required immediately.

?diff=split in the midst of this edition of the URL:

https://github.com/freebsd/freebsd-ports/commit/352af02b389202ac426ecf026ac65bff7c61bd41?diff=split#diff-01b82cb561ad6c59937469270ae848f3d63dc40228678b4a1ef02cdf48ecc889

Without this, if I’m not mistaken:

  1. visually remember what’s on screen
  2. key Home, or scroll up until the Split button becomes visible
  3. click the button
  4. as a different page loads, lose the anchor
  5. scroll down to the altered view of what was memorised from the previous page.

I fixed the link in FreeBSD Forums.

1 Like