threads / discuss / 30894

git diff --ignore-submodules fails if submodule is inaccessible

Subject: git diff --ignore-submodules fails if submodule is inaccessible

## tl;dr

2 messages between Jun 25, 2012 and Jun 25, 2012.

replies: 1people: 2as markdown or json

Orgad and Raizel Shaneh· Jun 25, 2012, 15:01 UTC · lore
Hello,
I have a submodule set up with a gitfile which points to an absolute path.

Trying to access the superproject from the network, running 'git diff --ignore-submodules' yields 'fatal: Not a git repository: <submodule-absolute-path>'.

It should really ignore submodules when requested...
- Orgad
Jens Lehmann· Jun 25, 2012, 16:59 UTC · re: Orgad and Raizel Shaneh · lore

Re: git diff --ignore-submodules fails if submodule is inaccessible

Am 25.06.2012 17:01, schrieb Orgad and Raizel Shaneh:
Show 7 quoted lines
> I have a submodule set up with a gitfile which points to an absolute path.
> 
> Trying to access the superproject from the network, running 'git diff
> --ignore-submodules' yields 'fatal: Not a git repository:
> <submodule-absolute-path>'.
> 
> It should really ignore submodules when requested...
Yes. I can reproduce that here and will look into it.

← back to recent threads