threads / discuss / 59663

difftool does not support --submodule=diff

Subject: difftool does not support --submodule=diff

## tl;dr

3 messages between Apr 27, 2023 and Apr 28, 2023.

replies: 2people: 2as markdown or json

Guillaume Noailhac· Apr 27, 2023, 15:29 UTC · lore
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· Apr 27, 2023, 15:36 UTC · re: Guillaume Noailhac · lore

RE: difftool does not support --submodule=diff

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· Apr 28, 2023, 07:16 UTC · re: rsbecker@nexbridge.com · lore

RE: difftool does not support --submodule=diff

Hello Randall
Show 10 quoted lines
> 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

← back to recent threads