Re: [PATCH v5 2/2] squash! log,diff-tree: add --combined-all-paths option

2019-02-07 Thread Elijah Newren
On Thu, Feb 7, 2019 at 8:14 PM Junio C Hamano wrote: > > Elijah Newren writes: > > > + for (i = 0; i < num_parent; i++) { > > + switch (elem->parent[i].status) { > > + case DIFF_STATUS_COPIED: > > + dump_quoted_path("copy from ", "", > > +

Re: [PATCH v5 2/2] squash! log,diff-tree: add --combined-all-paths option

2019-02-07 Thread Junio C Hamano
Elijah Newren writes: > + for (i = 0; i < num_parent; i++) { > + switch (elem->parent[i].status) { > + case DIFF_STATUS_COPIED: > + dump_quoted_path("copy from ", "", > + elem->parent[i].path.buf, > +

[PATCH v5 2/2] squash! log,diff-tree: add --combined-all-paths option

2019-02-07 Thread Elijah Newren
This also adds "rename from " and "copy from " extended headers when renames or copies are involved. Signed-off-by: Elijah Newren --- Documentation/diff-generate-patch.txt | 7 +++ combine-diff.c| 15 +++ 2 files changed, 18 insertions(+), 4 deletions(-)