aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-01-04 21:20:39 +0100
committerJonas Bernoulli <jonas@bernoul.li>2025-01-04 21:20:39 +0100
commit04535105addd9e926a2f459707873ad8b43b0071 (patch)
tree5452e629ab14c90e8cf95c15bf4269833298e4c5 /docs
parent5c40aded99ce9e0a5fff40baf431a05d126fd26a (diff)
magit-insert-untracked-files: Fix use of status.showUntrackedFiles
Previously the meanings of "normal" and "all" were inverted. Now "all" means "show all untracked" files, just like for `git status'. "normal" means "show untracked files and directories", but while in the case of `git status' that means that individual non-top-level files are never shown, in our case directory sections can be expanded on demand to show them when needed.
Diffstat (limited to 'docs')
-rw-r--r--docs/magit.org5
-rw-r--r--docs/magit.texi5
2 files changed, 2 insertions, 8 deletions
diff --git a/docs/magit.org b/docs/magit.org
index 17e95df..ec11042 100644
--- a/docs/magit.org
+++ b/docs/magit.org
@@ -2221,10 +2221,7 @@ By default the following functions are also members of that hook:
Maybe insert a list or tree of untracked files.
- Do so depending on the value of ~status.showUntrackedFiles~. Note
- that even if the value is ~all~, Magit still initially only shows
- directories. But the directory sections can then be expanded using
- ~TAB~.
+ Do so depending on the value of ~status.showUntrackedFiles~.
If the first element of ~magit-buffer-diff-files~ is a directory, then
limit the list to files below that. The value of that variable can
diff --git a/docs/magit.texi b/docs/magit.texi
index 65e1f5d..af960f7 100644
--- a/docs/magit.texi
+++ b/docs/magit.texi
@@ -2602,10 +2602,7 @@ While bisecting, insert section logging bisect progress.
@defun magit-insert-untracked-files
Maybe insert a list or tree of untracked files.
-Do so depending on the value of @code{status.showUntrackedFiles}. Note
-that even if the value is @code{all}, Magit still initially only shows
-directories. But the directory sections can then be expanded using
-@code{TAB}.
+Do so depending on the value of @code{status.showUntrackedFiles}.
If the first element of @code{magit-buffer-diff-files} is a directory, then
limit the list to files below that. The value of that variable can