mbox series

[0/2] status --untracked=no

Message ID 20240313173214.962532-1-gitster@pobox.com (mailing list archive)
Headers show
Series status --untracked=no | expand

Message

Junio C Hamano March 13, 2024, 5:32 p.m. UTC
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(-)