Skip to content

Commit 554a1df

Browse files
pcloudsgitster
authored andcommitted
completion: use __gitcomp_builtin in _git_fetch
New completable options: --deepen= --ipv4 --ipv6 --jobs= --multiple --progress --refmap= --shallow-exclude= --shallow-since= --update-head-ok Since _git_pull() needs fetch options too, $__git_fetch_options remains. This variable will soon be gone after _git_pull() is updated. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 6cc4bc1 commit 554a1df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ _git_fetch ()
14621462
return
14631463
;;
14641464
--*)
1465-
__gitcomp "$__git_fetch_options"
1465+
__gitcomp_builtin fetch "--no-tags"
14661466
return
14671467
;;
14681468
esac

0 commit comments

Comments
 (0)