• A
    Allow combined diff to ignore white-spaces · fa04ae0b
    Antoine Pelisse 提交于
    The combined diff --cc output does not honor options to ignore
    whitespace changes (-b, -w, and --ignore-space-at-eol).
    
    Correct this by passing diff flags to diff engine, so that combined
    diff behaves as normal diff does with spaces, and by coalescing
    lines that are removed from both (or more) parents, honoring the
    same rule to ignore whitespace changes.
    
    With this change, a conflict-less merge done using a ignore-*
    strategy option will not show any conflict if shown in combined-diff
    using the same option.
    Signed-off-by: NAntoine Pelisse <apelisse@gmail.com>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    fa04ae0b
combine-diff.c 33.2 KB