Issue 758: Gerrit doesn't display new empty files well.
Status:  CannotReproduce
Owner: ----
Closed:  May 2011
Reported by maze@google.com, Oct 21, 2010
Affected Version: 2.15

A commit which adds an empty file screws up gerrits file diff view.

In my case a commit added an empty file and modified another.

Git diff file view shows:

"No differences" for the Commit Message <- this is a an error

Shows:

diff --git a//dev/null b/.force_werror
new file mode 100644
index 00000000..xxxxxxxx
--- a//dev/null
+++ b/.force_werror

for the new file (maybe that's ok).

And correctly displays the contents of the modified file.
May 19, 2011
Project Member #1 nas...@grainawi.org
The Commit Message "No differences" isn't there anymore (in 2.1.7-rc1-48-g3d29599). It shows up like your .force_werror example above but with the text of the commit message as well (using Unified Diff view).

Are you still seeing this with a recent Gerrit version?
Status: CannotReproduce