Skip to content

Commit

Permalink
manual: Fix description of prefix arg for magit-fetch-modules
Browse files Browse the repository at this point in the history
A prefix arg triggers the transient as of fd5b9ea
(magit-fetch-modules: With prefix argument act as transient prefix,
2021-12-01).
  • Loading branch information
kyleam committed May 22, 2024
1 parent 66fb1d2 commit f9268a9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions docs/magit.org
Expand Up @@ -6700,8 +6700,9 @@ push-remote, see [[*The Two Remotes]].

- Key: f m (magit-fetch-modules) ::

This command fetches all submodules. With a prefix argument it
fetches all remotes of all submodules.
This command fetches all submodules. With a prefix argument, it
acts as a transient prefix command, allowing the caller to set
options.

- User Option: magit-pull-or-fetch ::

Expand Down Expand Up @@ -7155,10 +7156,12 @@ suitable modules.

- Key: o f (magit-fetch-modules) ::

This command fetches all populated modules.
This command fetches all populated modules. With a prefix argument,
it acts as a transient prefix command, allowing the caller to set
options.

Also fetch the super-repository, because ~git fetch~ does not
support not doing that. With a prefix argument fetch all remotes.
support not doing that.

** Subtree

Expand Down
11 changes: 7 additions & 4 deletions docs/magit.texi
Expand Up @@ -8279,8 +8279,9 @@ This command fetches from all remotes.
@item @kbd{f m} (@code{magit-fetch-modules})
@kindex f m
@findex magit-fetch-modules
This command fetches all submodules. With a prefix argument it
fetches all remotes of all submodules.
This command fetches all submodules. With a prefix argument, it
acts as a transient prefix command, allowing the caller to set
options.
@end table

@defopt magit-pull-or-fetch
Expand Down Expand Up @@ -8911,10 +8912,12 @@ 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 populated modules.
This command fetches all populated modules. With a prefix argument,
it acts as a transient prefix command, allowing the caller to set
options.
Also fetch the super-repository, because @code{git fetch} does not
support not doing that. With a prefix argument fetch all remotes.
support not doing that.
@end table
@node Subtree
Expand Down

0 comments on commit f9268a9

Please sign in to comment.