author | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Sep 2009 01:44:01 +0000 (18:44 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Sep 2009 05:18:49 +0000 (22:18 -0700) | ||
commit | 6957eb9a39cc765862e125edeef0dd70f359cff1 | |
tree | b81462d958d931e2a846dd175581feb3c3146bb5 | tree | snapshot |
parent | d68fe26f3e03b230ac9bbbcf002a9acdc4bebde9 | commit | diff |
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>
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 | diff | blob | history |