]> git.ipfire.org Git - thirdparty/git.git/commit - diff.c
textconv: refactor calls to run_textconv
authorJeff King <peff@peff.net>
Fri, 2 Apr 2010 00:09:26 +0000 (20:09 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Apr 2010 07:01:57 +0000 (00:01 -0700)
commit840383b2c2bd7179604f5c2595bf95e22a4e0c84
tree115d87354c47ff17241a42c6dacf1e68c3f31cfa
parenta941d5e3958ece565570a2dc3a5476ff5242f340
textconv: refactor calls to run_textconv

This patch adds a fill_textconv wrapper, which centralizes
some minor logic like error checking and handling the case
of no-textconv.

In addition to dropping the number of lines, this will make
it easier in future patches to handle multiple types of
textconv.

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