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

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

[nongnu] elpa/git-commit dc11ba7b29: magit-fetch-modules: Remove --all a


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit dc11ba7b29: magit-fetch-modules: Remove --all argument
Date: Wed, 16 Feb 2022 12:58:29 -0500 (EST)

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

    magit-fetch-modules: Remove --all argument
    
    The intention was to fetch --all remotes of all submodules, which may
    or may not work.  It does cause all remotes of the super-repository to
    be fetched, which wasn't the goal but which is perfectly fine.
    
    However for each remote of the super-repository that if fetches, it
    additionally goes through all the submodules and fetches each one of
    them again.  We definitely don't want to needlessly fetch each
    submodule N times, where N is the number of remotes of the
    super-repository.
---
 lisp/magit-fetch.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lisp/magit-fetch.el b/lisp/magit-fetch.el
index 3cbd008dba..921b38047e 100644
--- a/lisp/magit-fetch.el
+++ b/lisp/magit-fetch.el
@@ -181,7 +181,6 @@ with a prefix argument."
                      (t "--jobs=4")))
   ["Arguments"
    ("-v" "verbose"        "--verbose")
-   ("-a" "all remotes"    "--all")
    ("-j" "number of jobs" "--jobs=" :reader transient-read-number-N+)]
   ["Action"
    ("m" "fetch modules" magit-fetch-modules)]



reply via email to

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