Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
completion: use __gitcomp_builtin in _git_fetch
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Fri, 9 Feb 2018 11:01:56 +0000
(18:01 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 9 Feb 2018 18:24:51 +0000
(10:24 -0800)
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>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
6cc4bc1
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 7763f88347547db956360e7a2835655636db9d5a..4275307c3dd0b0042ad27e8bf8546e6691a06734 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-1462,7
+1462,7
@@
_git_fetch ()
return
;;
--*)
- __gitcomp
"$__git_fetch_option
s"
+ __gitcomp
_builtin fetch "--no-tag
s"
return
;;
esac