From b94600d181c7b0db3a1d826b73a06eb984ce4afd Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 23 Apr 2022 16:13:50 -0700 Subject: [PATCH] Correct depth/deepen completions for git fetch --- share/completions/git.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/completions/git.fish b/share/completions/git.fish index e068afbdd..ecf635ca2 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -948,13 +948,13 @@ complete -f -c git -n '__fish_git_using_command fetch' -l prefetch -d 'Modify th complete -f -c git -n '__fish_git_using_command fetch' -s j -l jobs -d 'Numbers of submodules fetched in parallel' complete -f -c git -n '__fish_git_using_command fetch' -s n -d 'Do not fetch all tags (--no-tags)' complete -f -c git -n '__fish_git_using_command fetch' -l dry-run -d 'Dry run' -complete -f -c git -n '__fish_git_using_command fetch' -l depth -d 'Deepen the history of shallow clones' +complete -f -c git -n '__fish_git_using_command fetch' -l depth -d 'Limit number of commits' complete -f -c git -n '__fish_git_using_command fetch' -l with-fetch-head -d 'Write fetched references to the FETCH_HEAD file' complete -f -c git -n '__fish_git_using_command fetch' -l update-shallow -d 'Accept refs that update .git/shallow' complete -f -c git -n '__fish_git_using_command fetch' -s k -l keep -d 'Keep downloaded pack' complete -f -c git -n '__fish_git_using_command fetch' -s u -l update-head-ok -d 'Allow updating of HEAD ref' complete -f -c git -n '__fish_git_using_command fetch' -l progress -d 'Force progress reporting' -complete -f -c git -n '__fish_git_using_command fetch' -l depth -d 'Deepen history of shallow clones' +complete -f -c git -n '__fish_git_using_command fetch' -l deepen -d 'Deepen history of shallow clones' complete -f -c git -n '__fish_git_using_command fetch' -l shallow-since -d 'Deepen history of shallow repository based on time' complete -f -c git -n '__fish_git_using_command fetch' -l shallow-exclude -d 'Deepen history of shallow clone, excluding rev' complete -f -c git -n '__fish_git_using_command fetch' -l unshallow -d 'Convert to a complete repository'