diffcore-pickaxe: remove fill_one()
commit7cdb9b42c359000b1d3d604f847598afd015b7c7
authorJeff King <peff@peff.net>
Fri, 5 Apr 2013 00:08:47 +0000 (4 20:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Apr 2013 03:33:19 +0000 (4 20:33 -0700)
treec720cffc16f054022ed37d3e2fbbd99b4fe94f25
parentbc6158981b547db3d3eb754213467fed97109d57
diffcore-pickaxe: remove fill_one()

fill_one is _almost_ identical to just calling fill_textconv; the
exception is that for the !DIFF_FILE_VALID case, fill_textconv gives us
an empty buffer rather than a NULL one. Since we currently use the NULL
pointer as a signal that the file is not present on one side of the
diff, we must now switch to using DIFF_FILE_VALID to make the same
check.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Simon Ruderich <simon@ruderich.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-pickaxe.c