# bug: git difftool does not respect submodule argument

1 messages from 2021-03-09 to 2021-03-09. Participants: Fredrik Reveny.
Thread: https://gitlist.dev/t/55275

## Fredrik Reveny, 2021-03-09 08:01

Subject: bug: git difftool does not respect submodule argument
Message-ID: <CAK9rnwaB2BJo-UVLkPd2cDVtvM7HnAjJg+Fcqm6JUt7g=fSeYQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAK9rnwaB2BJo-UVLkPd2cDVtvM7HnAjJg%2BFcqm6JUt7g%3DfSeYQ%40mail.gmail.com

```
This repository is set up to reproduce the issue:
git clone --recurse-submodules https://github.com/Chetic/super.git

The following command behaves as expected and produces a diff to files
in submodules:
git diff --submodule=diff HEAD~1 HEAD

But the following command produces a diff of commit IDs referred to by
the super repository, i.e. same behavior as without the
"--submodule=diff" argument. I expected this to behave like the
command above but displayed with an external diff tool:
git difftool --submodule=diff HEAD~1 HEAD

```
