In latex, a sentence will only be added to a new paragraph if it is double spaced from the line before.

For example, the following latex code:

% These two sentences will be in the same paragraph in the compiled result
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Will result in:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

When you put every sentence on a new line in the latex code, you are able to quickly spot flow mistakes such as:

  1. Multiple consecutive sentences starting with the same word/phrase
  2. Too many long or short sentences together

In latex code, paragraphs where every sentence is on a single line should be avoided so that you can easily spot these style errors. Additionally, the output of git diff is a lot more useful when your document is formatted this way. The code to compile pipeline in latex is a feature to make you a better writer.