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

[PATCH v3 0/2] submodule: Don't print status output with submodule.<name>.ignore=all

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Sep 1, 2013, 20:06 UTC
Message-ID
<1378066009-1017855-1-git-send-email-sandals@crustytoothpaste.net>

There are configuration options for each submodule that specify under what circumstances git status should display output for that submodule. Unfortunately, these settings were not being respected, and as such the tests were marked TODO.

This patch series consists of two patches: the first is a fix for a confusing variable name, and the latter actually makes git status not output the submodule information. The tests have been updated accordingly, and additional tests have been included to ensure that git submodule summary is not affected by these changes unless the --for-status option is given.

Changes from v2:
* Add tests to ensure that git submodule summary is not affected.
* Fix bug that caused git submodule summary to be affected.
Changes from v1:
* Handle moved submodules by not ignoring them.
* Use sm_path instead of path.
* Only ignore when --for-status is given.
brian m. carlson (2):
  submodule: fix confusing variable name
  submodule: don't print status output with ignore=all
 git-submodule.sh             | 15 +++++++++++----
 t/t7401-submodule-summary.sh | 30 ++++++++++++++++++++++++++++++
 t/t7508-status.sh            |  4 ++--
 3 files changed, 43 insertions(+), 6 deletions(-)
-- 
1.8.4.rc3
Next: brian m. carlson
Message 1 of 13 in “submodule: Don't print status output with submodule.<name>.ignore=all”
  1. 0/2 submodule: Don't print status output with submodule.<name>.ignore=allbrian m. carlson, Sep 1, 2013
  2. 1/2 submodule: fix confusing variable namebrian m. carlson, Sep 1, 2013
  3. 2/2 submodule: don't print status output with ignore=allbrian m. carlson, Sep 1, 2013
  4. Jens LehmannSep 3, 2013
  5. Junio C HamanoSep 3, 2013
  6. Jens LehmannSep 4, 2013
  7. Junio C HamanoSep 4, 2013
  8. Jens LehmannSep 4, 2013
  9. Matthieu MoySep 4, 2013
  10. Jens LehmannSep 4, 2013
  11. Matthieu MoySep 5, 2013
  12. Matthieu MoySep 5, 2013
  13. brian m. carlsonSep 6, 2013

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.