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

Bugs ignoring submodules?

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 15, 2009, 14:57 UTC
Message-ID
<94a0d4530911150657y6692a531hed99230c0d9dc315@mail.gmail.com>
Hi,

I'm trying to format patches ignoring changes in the submodules, and so far everything I've tried is failing, which I think points to multiple bugs. I'm using 1.6.5.2.

First I tried: % git format-patch --ignore-submodules

That ignores the submodules, all right, but still generates an empty patch, just like 'git log' shows no diff.

Then I tried: % git log <committish> -- $(git ls-files -x <submodule>)

But the submodule is still listed: % git ls-files --exclude=common | grep ^common common

These are bugs, right? Is there some other recommendation?
-- 
Felipe Contreras
Message 1 of 1 in “Bugs ignoring submodules?”
  1. Felipe ContrerasNov 15, 2009

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.