mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-05-20 23:41:27 +02:00
51256: Add --refetch to completions of git-fetch
This commit is contained in:
parent
e2a39513dc
commit
3a08f68288
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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]" \
|
||||
|
|
Loading…
Reference in a new issue