Subject: bug#54034: 29.0.50; Diff prettify broken for empty files

From: Stefan Monnier <[email-masked]>
Date: Mon, 21 Feb 2022 17:23:51 -0500

> Thus my suggestion is to use exactly the same replacement as for
> non-empty, text files!

I pushed a patch to `master` which should handle those cases correctly.
Please confirm that it also fixes the problem on your side,

        Stefan