A personal pet peeve of mine when reading diffs, is when a file has some functions and you insert one and instead of looking like this:<p><pre><code>     int someOldFunction()
     {
         &#x2F;&#x2F; Function body
     }
    +
    +int newFunction()
    +{
    +    &#x2F;&#x2F; New function body
    +}
</code></pre>
It looks like this:<p><pre><code>     int someOldFunction()
     {
         &#x2F;&#x2F; Function body
    +}
    +
    +int newFunction()
    +{
    +    &#x2F;&#x2F; New function body
     }
</code></pre>
It&#x27;s a small thing, but given that these diffs are equivalent, the one that balances the curly braces within added blocks should be favored. But diff utilities seem to get this pretty consistently wrong.