News for hackers. Stuff that matters.
Re:Why was "goto fail;" added without any other change to th... by Cthulhu_ on Friday February 28, 2014 @10:03AM (#7319011)
And to have someone else look at your diffs and sign off on them before it's merged into master.

Google / Chrome does this, and so should everyone else, even more so if they're dealing with security.

Re:Why was "goto fail;" added without any other change to th... by mistercow on Friday February 28, 2014 @10:08AM (#7319050)
That's a good measure too, although I think with a mistake like this, the person writing the code might be more likely to spot the mistake than someone else.

It also makes me wonder if the diff display shouldn't have a specific notation for duplicated lines, since they are a special case that can easily be mistaken for a trivial change to a line with the way diffs are typically shown.