From 3a08f682885b1d83b6b573e2f1c0122ec5b6f5db Mon Sep 17 00:00:00 2001 From: Jörg Sommer Date: Tue, 27 Dec 2022 17:49:50 +0100 Subject: 51256: Add --refetch to completions of git-fetch --- Completion/Unix/Command/_git | 1 + 1 file changed, 1 insertion(+) (limited to 'Completion/Unix/Command/_git') 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]" \ -- cgit 1.4.1