diff.c: shuffling code around
commit6957eb9a39cc765862e125edeef0dd70f359cff1
authorJunio C Hamano <gitster@pobox.com>
Tue, 15 Sep 2009 01:44:01 +0000 (14 18:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Sep 2009 05:18:49 +0000 (14 22:18 -0700)
treeb81462d958d931e2a846dd175581feb3c3146bb5
parentd68fe26f3e03b230ac9bbbcf002a9acdc4bebde9
diff.c: shuffling code around

Move function, type, and structure definitions for fill_mmfile(),
count_trailing_blank(), check_blank_at_eof(), emit_line(),
new_blank_line_at_eof(), emit_add_line(), sane_truncate_fn, and
emit_callback up in the file, so that they can be refactored into helper
functions and reused by codepath for emitting rewrite patches.

This only moves the lines around to make the next two patches easier to
read.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c