Re: [PATCH v7 7/7] diff: teach diff to display submodule difference with an inline diff

2016-08-18 Thread Jacob Keller
On Thu, Aug 18, 2016 at 12:47 PM, Stefan Beller wrote: > On Wed, Aug 17, 2016 at 5:51 PM, Jacob Keller > wrote: > > > >> if (o->submodule_format == DIFF_SUBMODULE_LOG && >> (!one->mode || S_ISGITLINK(one->mode)) && >> (!two->mode || S_ISGITLINK(two->mode))) { >> @

Re: [PATCH v7 7/7] diff: teach diff to display submodule difference with an inline diff

2016-08-18 Thread Stefan Beller
On Wed, Aug 17, 2016 at 5:51 PM, Jacob Keller wrote: > if (o->submodule_format == DIFF_SUBMODULE_LOG && > (!one->mode || S_ISGITLINK(one->mode)) && > (!two->mode || S_ISGITLINK(two->mode))) { > @@ -2311,6 +2322,17 @@ static void builtin_diff(const char *name_a, >

[PATCH v7 7/7] diff: teach diff to display submodule difference with an inline diff

2016-08-17 Thread Jacob Keller
From: Jacob Keller Teach git-diff and friends a new format for displaying the difference of a submodule. The new format is an inline diff of the contents of the submodule between the commit range of the update. This allows the user to see the actual code change caused by a submodule update. Add