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 ", "",
> > +
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,
> +
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(-)
3 matches
Mail list logo