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

[PATCH 0/2] status --untracked=no

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 13, 2024, 17:32 UTC
Message-ID
<20240313173214.962532-1-gitster@pobox.com>

Jonas Wunderlich noticed that "git status" documentation mentioned "--untracked-files=false", which unfortunately is not even accepted by the command. It is natural to expect that the "--untracked" option and the status.showuntrackedFiles configuration variable to take a Boolean value ("do you want me to show untracked files?"), but the current code takes nothing but "no" as "no, please do not show any".

Junio C Hamano (2):
  status: unify parsing of --untracked= and status.showUntrackedFiles
  status: allow --untracked=false and friends
 Documentation/config/status.txt |  2 ++
 Documentation/git-commit.txt    |  2 ++
 Documentation/git-status.txt    |  2 ++
 builtin/commit.c                | 57 ++++++++++++++++++++++-----------
 t/t7508-status.sh               | 32 ++++++++++++------
 wt-status.h                     |  3 +-
 6 files changed, 68 insertions(+), 30 deletions(-)
-- 
2.44.0-191-g945115026a
Next: Junio C Hamano
Message 1 of 4 in “status --untracked=no”
  1. 0/2 status --untracked=noJunio C Hamano, Mar 13, 2024
  2. 1/2 status: unify parsing of --untracked= and status.showUntrackedFilesJunio C Hamano, Mar 13, 2024
  3. 2/2 status: allow --untracked=false and friendsJunio C Hamano, Mar 13, 2024
  4. Kristoffer HaugsbakkMar 13, 2024

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.