emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit 52a7ed7ea8: Clarify that some commands only dea


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 52a7ed7ea8: Clarify that some commands only deal with populated submodules
Date: Mon, 24 Apr 2023 17:00:56 -0400 (EDT)

branch: elpa/git-commit
commit 52a7ed7ea816b200f902cf0e4a634e85d54225ef
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Clarify that some commands only deal with populated submodules
    
    Closes #4801.
---
 docs/magit.org          | 6 +++---
 docs/magit.texi         | 6 +++---
 lisp/magit-fetch.el     | 2 +-
 lisp/magit-submodule.el | 8 ++++----
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/docs/magit.org b/docs/magit.org
index f7ab1d7e79..0fc475b36a 100644
--- a/docs/magit.org
+++ b/docs/magit.org
@@ -6959,8 +6959,8 @@ the super-repository by adding ~magit-insert-modules~ to 
the hook
 
 - Command: magit-list-submodules ::
 
-  This command displays a list of the current repository's submodules
-  in a separate buffer.
+  This command displays a list of the current repository's populated
+  submodules in a separate buffer.
 
   It can be invoked by pressing ~RET~ on the section titled "Modules".
 
@@ -7046,7 +7046,7 @@ suitable modules.
 
 - Key: o f (magit-fetch-modules) ::
 
-  This command fetches all modules.
+  This command fetches all populated modules.
 
   Option ~magit-fetch-modules-jobs~ controls how many submodules are
   being fetched in parallel.  Also fetch the super-repository, because
diff --git a/docs/magit.texi b/docs/magit.texi
index 5756e51f04..c50a7222c5 100644
--- a/docs/magit.texi
+++ b/docs/magit.texi
@@ -8680,8 +8680,8 @@ the super-repository by adding 
@code{magit-insert-modules} to the hook
 @code{magit-status-sections-hook} as described in @ref{Status Module Sections}.
 
 @deffn Command magit-list-submodules
-This command displays a list of the current repository's submodules
-in a separate buffer.
+This command displays a list of the current repository's populated
+submodules in a separate buffer.
 
 It can be invoked by pressing @code{RET} on the section titled "Modules".
 @end deffn
@@ -8781,7 +8781,7 @@ This command displays a list of the current repository's 
modules.
 @item @kbd{o f} (@code{magit-fetch-modules})
 @kindex o f
 @findex magit-fetch-modules
-This command fetches all modules.
+This command fetches all populated modules.
 
 Option @code{magit-fetch-modules-jobs} controls how many submodules are
 being fetched in parallel.  Also fetch the super-repository, because
diff --git a/lisp/magit-fetch.el b/lisp/magit-fetch.el
index 7b804311ac..35e1c8e6b2 100644
--- a/lisp/magit-fetch.el
+++ b/lisp/magit-fetch.el
@@ -157,7 +157,7 @@ removed on the respective remote."
 
 ;;;###autoload (autoload 'magit-fetch-modules "magit-fetch" nil t)
 (transient-define-prefix magit-fetch-modules (&optional transient args)
-  "Fetch all submodules.
+  "Fetch all populated submodules.
 
 Fetching is done using \"git fetch --recurse-submodules\", which
 means that the super-repository and recursively all submodules
diff --git a/lisp/magit-submodule.el b/lisp/magit-submodule.el
index 69105eefa6..5f8043f334 100644
--- a/lisp/magit-submodule.el
+++ b/lisp/magit-submodule.el
@@ -172,9 +172,9 @@ and also setting this variable to t will lead to tears."
    ("s" magit-submodule-synchronize)
    ("d" magit-submodule-unpopulate)
    ("k" "Remove" magit-submodule-remove)]
-  ["All modules actions"
-   ("l" "List all modules"  magit-list-submodules)
-   ("f" "Fetch all modules" magit-fetch-modules)])
+  ["Populated modules actions"
+   ("l" "List modules"  magit-list-submodules)
+   ("f" "Fetch modules" magit-fetch-modules)])
 
 (defun magit-submodule-arguments (&rest filters)
   (--filter (and (member it filters) it)
@@ -625,7 +625,7 @@ These sections can be expanded to show the respective 
commits."
 
 ;;;###autoload
 (defun magit-list-submodules ()
-  "Display a list of the current repository's submodules."
+  "Display a list of the current repository's populated submodules."
   (interactive)
   (magit-submodule-list-setup magit-submodule-list-columns))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]