# difftool does not support --submodule=diff

3 messages from 2023-04-27 to 2023-04-28. Participants: Guillaume Noailhac, rsbecker@nexbridge.com.
Thread: https://gitlist.dev/t/59663

## Guillaume Noailhac, 2023-04-27 15:29

Subject: difftool does not support --submodule=diff
Message-ID: <235af3bc-57e3-283f-6d4d-177ccf273909@sysgo.com>
URL: https://gitlist.dev/e/235af3bc-57e3-283f-6d4d-177ccf273909%40sysgo.com

```
Hello


I would like to see the complete directories diff of my git project 
using the command difftool.

Today the command difftool does not support --submodule=diff.

Is it fixable ?


My current version of git is:

git version 2.34.1

and my difftool is meld;


Best regards

Guillaume Noailhac


```

## rsbecker@nexbridge.com, 2023-04-27 15:36

Subject: RE: difftool does not support --submodule=diff
Message-ID: <045301d9791e$0c0a6d50$241f47f0$@nexbridge.com>
URL: https://gitlist.dev/e/045301d9791e%240c0a6d50%24241f47f0%24%40nexbridge.com
In-Reply-To: <235af3bc-57e3-283f-6d4d-177ccf273909@sysgo.com>

```
On Thursday, April 27, 2023 11:29 AM, Guillaume Noailhac wrote:
>I would like to see the complete directories diff of my git project
>using the command difftool.
>
>Today the command difftool does not support --submodule=diff.

Would git submodule foreach git diff ... work for you?
--Randall


```

## Guillaume Noailhac, 2023-04-28 07:16

Subject: RE: difftool does not support --submodule=diff
Message-ID: <1639537111.19077.1682666190088@ox.sysgo.com>
URL: https://gitlist.dev/e/1639537111.19077.1682666190088%40ox.sysgo.com
In-Reply-To: <045301d9791e$0c0a6d50$241f47f0$@nexbridge.com>

```
Hello Randall

> On 04/27/2023 5:36 PM CEST rsbecker@nexbridge.com wrote:
> 
>  
> On Thursday, April 27, 2023 11:29 AM, Guillaume Noailhac wrote:
> >I would like to see the complete directories diff of my git project
> >using the command difftool.
> >
> >Today the command difftool does not support --submodule=diff.
> 
> Would git submodule foreach git diff ... work for you?

Thanks for the quick answer, but not it will not work for me.

I want to make the diff of the HEAD vs HEAD~5 for example of the master git containing the submodules.
with the command "git submodule foreach git difftool ..." , I need to found for each submodules which commit was pointing the master one at HEAD~5 . This solution is not possible.

> --Randall

Best regards
Guillaume Noailhac

```
