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

__git_ps1 not showing submodule dirty state

From
Kevin Ballard <kevin@sb.org>
Date
Dec 30, 2009, 21:46 UTC
Message-ID
<A98B75F4-B9BD-4CB4-9335-754C59ECB64F@sb.org>
Why does the __git_ps1 function in git-completion.bash explicitly ignore submodules when showing the GIT_PS1_SHOWDIRTYSTATE status? The most common issue with my current repository is not realizing when submodules need to be updated because I blindly trust my prompt to tell me when I have dirty state.
-Kevin Ballard
Next: Johan Herland
Message 1 of 3 in “__git_ps1 not showing submodule dirty state”
  1. Kevin BallardDec 30, 2009
  2. Johan HerlandDec 31, 2009
  3. bash completion: factor submodules into dirty stateThomas Rast, Dec 31, 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.