bash: Classify more commends out of completion.
Most of these commands are not ones you want to invoke from the command line on a frequent basis, or have been renamed in 1.5.0 to more friendly versions, but the old names are being left behind to support existing scripts in the wild. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
72e5e989b8
commit
a925c6f165
@ -250,16 +250,24 @@ __git_commands ()
|
|||||||
do
|
do
|
||||||
case $i in
|
case $i in
|
||||||
add--interactive) : plumbing;;
|
add--interactive) : plumbing;;
|
||||||
|
applymbox) : ask gittus;;
|
||||||
|
applypatch) : ask gittus;;
|
||||||
|
archimport) : import;;
|
||||||
cat-file) : plumbing;;
|
cat-file) : plumbing;;
|
||||||
check-ref-format) : plumbing;;
|
check-ref-format) : plumbing;;
|
||||||
commit-tree) : plumbing;;
|
commit-tree) : plumbing;;
|
||||||
convert-objects) : plumbing;;
|
convert-objects) : plumbing;;
|
||||||
|
cvsexportcommit) : export;;
|
||||||
|
cvsimport) : import;;
|
||||||
cvsserver) : daemon;;
|
cvsserver) : daemon;;
|
||||||
daemon) : daemon;;
|
daemon) : daemon;;
|
||||||
|
fsck-objects) : plumbing;;
|
||||||
fetch-pack) : plumbing;;
|
fetch-pack) : plumbing;;
|
||||||
|
fmt-merge-msg) : plumbing;;
|
||||||
hash-object) : plumbing;;
|
hash-object) : plumbing;;
|
||||||
http-*) : transport;;
|
http-*) : transport;;
|
||||||
index-pack) : plumbing;;
|
index-pack) : plumbing;;
|
||||||
|
init-db) : deprecated;;
|
||||||
local-fetch) : plumbing;;
|
local-fetch) : plumbing;;
|
||||||
mailinfo) : plumbing;;
|
mailinfo) : plumbing;;
|
||||||
mailsplit) : plumbing;;
|
mailsplit) : plumbing;;
|
||||||
@ -272,9 +280,13 @@ __git_commands ()
|
|||||||
parse-remote) : plumbing;;
|
parse-remote) : plumbing;;
|
||||||
patch-id) : plumbing;;
|
patch-id) : plumbing;;
|
||||||
peek-remote) : plumbing;;
|
peek-remote) : plumbing;;
|
||||||
|
prune) : plumbing;;
|
||||||
|
prune-packed) : plumbing;;
|
||||||
|
quiltimport) : import;;
|
||||||
read-tree) : plumbing;;
|
read-tree) : plumbing;;
|
||||||
receive-pack) : plumbing;;
|
receive-pack) : plumbing;;
|
||||||
reflog) : plumbing;;
|
reflog) : plumbing;;
|
||||||
|
repo-config) : plumbing;;
|
||||||
rerere) : plumbing;;
|
rerere) : plumbing;;
|
||||||
rev-list) : plumbing;;
|
rev-list) : plumbing;;
|
||||||
rev-parse) : plumbing;;
|
rev-parse) : plumbing;;
|
||||||
@ -285,14 +297,19 @@ __git_commands ()
|
|||||||
show-index) : plumbing;;
|
show-index) : plumbing;;
|
||||||
ssh-*) : transport;;
|
ssh-*) : transport;;
|
||||||
stripspace) : plumbing;;
|
stripspace) : plumbing;;
|
||||||
|
svn) : import export;;
|
||||||
|
svnimport) : import;;
|
||||||
symbolic-ref) : plumbing;;
|
symbolic-ref) : plumbing;;
|
||||||
|
tar-tree) : deprecated;;
|
||||||
unpack-file) : plumbing;;
|
unpack-file) : plumbing;;
|
||||||
unpack-objects) : plumbing;;
|
unpack-objects) : plumbing;;
|
||||||
|
update-index) : plumbing;;
|
||||||
update-ref) : plumbing;;
|
update-ref) : plumbing;;
|
||||||
update-server-info) : daemon;;
|
update-server-info) : daemon;;
|
||||||
upload-archive) : plumbing;;
|
upload-archive) : plumbing;;
|
||||||
upload-pack) : plumbing;;
|
upload-pack) : plumbing;;
|
||||||
write-tree) : plumbing;;
|
write-tree) : plumbing;;
|
||||||
|
verify-tag) : plumbing;;
|
||||||
*) echo $i;;
|
*) echo $i;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -834,7 +851,6 @@ _git ()
|
|||||||
pull) _git_pull ;;
|
pull) _git_pull ;;
|
||||||
push) _git_push ;;
|
push) _git_push ;;
|
||||||
rebase) _git_rebase ;;
|
rebase) _git_rebase ;;
|
||||||
repo-config) _git_config ;;
|
|
||||||
reset) _git_reset ;;
|
reset) _git_reset ;;
|
||||||
show) _git_show ;;
|
show) _git_show ;;
|
||||||
show-branch) _git_log ;;
|
show-branch) _git_log ;;
|
||||||
|
Reference in New Issue
Block a user