From: Axel Bonnet Date: Tue, 15 Jun 2010 13:58:48 +0000 (+0200) Subject: textconv: support for blame X-Git-Tag: v1.7.2-rc0~5^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3b8a12e8f8c2f4b200e228bc2aa71741c529553c?hp=3b8a12e8f8c2f4b200e228bc2aa71741c529553c textconv: support for blame This patches enables to perform textconv with blame if a textconv driver is available fos the file. The main task is performed by the textconv_object function which prepares diff_filespec and if possible converts the file using diff textconv API. Only regular files are converted, so the mode of diff_filespec is faked. Textconv conversion is enabled by default (equivalent to the option --textconv), since blaming binary files is useless in most cases. The option --no-textconv is used to disable textconv conversion. The declarations of several functions are modified to give access to a diff_options, in order to know whether the textconv option is activated or not. Signed-off-by: Axel Bonnet Signed-off-by: Clément Poulain Signed-off-by: Diane Gasselin Signed-off-by: Junio C Hamano ---