1. 16
  1.  

  2. 5

    As mentioned in the comments on the post, git’s diff commands have flags (--word-diff, --color-words) that make dealing with line-wrapped prose (e.g. LaTeX, documentation, etc.) vastly more pleasant.

    1. 1

      Yep, been doing this for years in LaTeX documents and now markdown (etc), it makes a big difference to the readability of diffs and after a while I found it felt natural to read in that form, a bit like reading dialog in a book.

      1. 1

        I started doing this a few years ago when writing my blog and yes, it makes it way easier to edit. It took a while to get used to doing it, though.