Re: [PATCH v2] log,diff-tree: add --combined-with-paths options for merges with renames
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Jan 25, 2019, 17:40 UTC
- Message-ID
- <2f785c2d-161c-b6a3-7743-b071969d60d7@gmail.com>
- In-Reply-To
- <20190125165416.17473-1-newren@gmail.com>
On 1/25/2019 11:54 AM, Elijah Newren wrote:
> +test_expect_success '--combined-with-paths works with -z as well' ' > + printf "0f9645804ebb04cc3eef91f799eb7fb54d70cefb\0::100644 100644 100644 f00c965d8307308469e537302baa73048488f162 088bd5d92c2a8e0203ca8e7e4c2a5c692f6ae3f7 333b9c62519f285e1854830ade0fe1ef1d40ee1b RR\0file\twith\ttabs\0i\tam\ttabbed\0fickle\tnaming\0" >expect &&
I'm guessing that you use printf here because the 'cat <<-\EOF' approach doesn't work with the special tabs? Kudos for putting in the extra effort here for the special formatting!
The rest of the patch looks good.
Thanks, -Stolee