diffcore-pickaxe: remove fill_one()
authorJeff King <redacted>
Fri, 5 Apr 2013 00:08:47 +0000 (20:08 -0400)
committerJunio C Hamano <redacted>
Fri, 5 Apr 2013 03:33:19 +0000 (20:33 -0700)
commit7cdb9b42c359000b1d3d604f847598afd015b7c7
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 <redacted>
Signed-off-by: Simon Ruderich <redacted>
Signed-off-by: Junio C Hamano <redacted>
diffcore-pickaxe.c
git clone https://git.99rst.org/PROJECT