Re: [PATCH v4 2/2] diff: add SUBMODULE_DIFF format to display submodule diff

2016-08-11 Thread Junio C Hamano
Jacob Keller writes: > diff --git a/submodule.c b/submodule.c > index 1b5cdfb7e784..36f8fd00c3ce 100644 > --- a/submodule.c > +++ b/submodule.c > @@ -333,6 +333,73 @@ static void print_submodule_summary(struct rev_info > *rev, FILE *f, > strbuf_release(&sb); > } > > +void show_submodule

Re: [PATCH v4 2/2] diff: add SUBMODULE_DIFF format to display submodule diff

2016-08-11 Thread Jacob Keller
On Thu, Aug 11, 2016 at 10:53 AM, Junio C Hamano wrote: > Jacob Keller writes: > >> From: Jacob Keller >> >> Teach git-diff and friends a new format for displaying the difference of >> a submodule using git-diff inside the submodule project. This allows >> users to easily see exactly what source

Re: [PATCH v4 2/2] diff: add SUBMODULE_DIFF format to display submodule diff

2016-08-11 Thread Junio C Hamano
Jacob Keller writes: > From: Jacob Keller > > Teach git-diff and friends a new format for displaying the difference of > a submodule using git-diff inside the submodule project. This allows > users to easily see exactly what source changed in a given commit that > updates the submodule pointer.

[PATCH v4 2/2] diff: add SUBMODULE_DIFF format to display submodule diff

2016-08-10 Thread Jacob Keller
From: Jacob Keller Teach git-diff and friends a new format for displaying the difference of a submodule using git-diff inside the submodule project. This allows users to easily see exactly what source changed in a given commit that updates the submodule pointer. To do this, remove DIFF_SUBMODULE_