[PATCH] show-diff.c: simplify show_diff_empty.
commit8f3671dcd93b8c5ab21582752f736646c66e2249
authorJunio C Hamano <junkio@cox.net>
Mon, 18 Apr 2005 22:07:24 +0000 (18 15:07 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Apr 2005 22:07:24 +0000 (18 15:07 -0700)
tree36f8f4238a895b360761f9c6404e6ae3f92ab6cd
parentd0db466326c32ca4b3faa849a81fab7d60615c6f
[PATCH] show-diff.c: simplify show_diff_empty.

This patch removes the custom diff generation code from the
show_diff_empty() function.  Instead, just use show_differences().

This reduces the code size; but more importantly, it is needed for
the later patch to give diff options.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
show-diff.c