Phillip Wood <phillip.wood123@xxxxxxxxx> writes: > The existing test deletes the first line of the diff[1] - so it is > removing the "diff --git ..." header not the hunk header. This patch > changes the filter to delete everything except the diff header which > seems like a less realistic test. Is it that all it cares about is that the output has the same number of lines as the input? If so, I agree that it is much less realistic, but it may not matter in practice. Even an "exit 0" might do ;-) I may be quite off the mark on this one, though.