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

git-status for submodules

From
CFChris Frey <cdfrey@foursquare.net>
Date
Nov 20, 2008, 03:36 UTC
Message-ID
<20081120033615.GA21128@foursquare.net>
Hi,

I'm using git 1.6.0.4 and trying to make submodules work for me. The init/add/update steps are a bit tedious, but workable. The problem I have is when I make a change in a submodule, then git-status does not show the change.

For example, assuming a directory structure like:  super and super/sub
	cd super
	vi newsuper
	vi existing_file
	cd sub
	vi newsub
	cd ..
	git status

This will show newsuper as needing to be added, and existing_file as changed, but newsub will not appear.

Is there a way to accomplish this?
Thanks,
- Chris
Next: Junio C Hamano
Message 1 of 6 in “git-status for submodules”
  1. Chris FreyNov 20, 2008
  2. Junio C HamanoNov 21, 2008
  3. Johan HerlandNov 21, 2008
  4. Chris FreyNov 21, 2008
  5. Chris FreyNov 21, 2008
  6. Junio C HamanoNov 22, 2008

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.