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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Orgad and Raizel Shaneh <hidden>
Date: 2016-06-15 22:54:10

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

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

From: Jens Lehmann <hidden>
Date: 2016-06-15 22:54:10

Am 25.06.2012 17:01, schrieb Orgad and Raizel Shaneh:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help