zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Add --refetch to completions of git-fetch
@ 2022-12-27 16:49 Jörg Sommer
  0 siblings, 0 replies; only message in thread
From: Jörg Sommer @ 2022-12-27 16:49 UTC (permalink / raw)
  To: zsh-workers; +Cc: Jörg Sommer

---
 Completion/Unix/Command/_git | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 6a1c4158a..14fa01436 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -890,6 +890,7 @@ _git-fetch () {
     '(--all -m --multiple)'{-m,--multiple}'[fetch from multiple remotes]' \
     '(-n --no-tags -t --tags)'{-n,--no-tags}'[disable automatic tag following]' \
     '--prefetch[modify the refspec to place all refs within refs/prefetch/]' \
+    '--refetch[fetch all objects as a fresh clone would]' \
     '(-P --prune-tags)'{-P,--prune-tags}'[prune local tags no longer on remote and clobber changed tags]' \
     '--write-fetch-head[write fetched references to the FETCH_HEAD file]' \
     "--negotiate-only[don't fetch a packfile; instead, print ancestors of negotiation tips]" \
-- 
2.39.0



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-27 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-27 16:49 [PATCH] Add --refetch to completions of git-fetch Jörg Sommer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).