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

query on git submodule (ignore)

From
PNprashant Nidgunde <pashnidgunde@gmail.com>
Date
Mar 25, 2018, 02:17 UTC
Message-ID
<CAA7Y+T3OdaSBcqPmfJcVbPTjY=VFnvx9PH-rW9utQ4mXce+S8w@mail.gmail.com>
Hello,
I am new to this community ,so please ignore if I am asking anything silly.

Case : Today when I built my submodule , and did a git status , it shows as modified.

After reading certain suggestions on web i found out that i can ignore that adding a line in .gitmodules

But, I had to add that line manually ( which could be errorprone because of typos )

Question:
    1. Is it feasible to build a feature like :
                   git submodule "zlib" ignore dirty ( which will
ignore submodule zlib when its built and dirty  as it has new files in
its directory)

If this feature is feasible , how do i know if its developed ( awaiting merge ) or can I build the patch ?

Regards, Prashant

Next: Jacob Keller
Message 1 of 4 in “query on git submodule (ignore)”
  1. prashant NidgundeMar 25, 2018
  2. Jacob KellerMar 25, 2018
  3. Junio C HamanoMar 25, 2018
  4. Stefan BellerMar 26, 2018

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.