Re: [PATCHv2 04/25] diff.c: introduce emit_diff_symbol
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 23, 2017, 20:07 UTC
- Message-ID
- <xmqqa84yeads.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170623012919.28693-5-sbeller@google.com>
Stefan Beller <sbeller@google.com> writes:
Show 8 quoted lines
> diff --git a/new.txt b/new.txt > index fa69b07..412428c 100644 > Binary files a/new.txt and b/new.txt differ > > could be buffered as > DIFF_SYMBOL_DIFF_START + new.txt > DIFF_SYMBOL_INDEX_MODE + fa69b07 412428c "non-executable" flag > DIFF_SYMBOL_BINARY_FILES + new.txt
Hopefully this is an oversimplified example and I'd assume that you will do the right thing when showing a renamed filepair by allowing both old and new paths that could be different?