diff options
author | Jörg Sommer <joerg@jo-so.de> | 2022-12-27 17:49:50 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2023-01-11 16:08:43 +0100 |
commit | 3a08f682885b1d83b6b573e2f1c0122ec5b6f5db (patch) | |
tree | 7f92263f1f7eb443759a235b7e9cf33f41523df8 | |
parent | e2a39513dcff152fdfe1d966c0eb3156cce260b6 (diff) | |
download | zsh-3a08f682885b1d83b6b573e2f1c0122ec5b6f5db.tar.gz zsh-3a08f682885b1d83b6b573e2f1c0122ec5b6f5db.tar.xz zsh-3a08f682885b1d83b6b573e2f1c0122ec5b6f5db.zip |
51256: Add --refetch to completions of git-fetch
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_git | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 7213bf5f0..d6475c3a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2023-01-11 Oliver Kiddle <opk@zsh.org> + * Jörg Sommer: 51256: Completion/Unix/Command/_git: + Add --refetch to completions of git-fetch + * unposted: NEWS, Src/zsh.h, Completion/Zsh/Type/_ps1234: mention attributes changes, fix renumbering mistake and allow completion to offer prompt escapes for PROMPT_EOL_MARK 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]" \ |