git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Orgad and Raizel Shaneh <orgads@gmail.com>
Date
Jun 25, 2012, 15:01 UTC
Message-ID
<CAGHpTBL=hHazYv09KxADi3xa5s1TM2KNFteg4E=uW0WYDy_kxA@mail.gmail.com>
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
Next: Jens Lehmann
Message 1 of 2 in “git diff --ignore-submodules fails if submodule is inaccessible”
  1. Orgad and Raizel ShanehJun 25, 2012
  2. Jens LehmannJun 25, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.