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>
Shawn O. Pearce committed
Feb 4, 2007 at 02:38 UTC
a925c6f165a3374ff4a69d7c991ead2d9fa90b98
1 file changed
+17
-1
contrib/completion/git-completion.bash
+17
-1
@@ -250,16 +250,24 @@ __git_commands ()
250
do
251
case $i in
252
add--interactive) : plumbing;;
253
+ applymbox) : ask gittus;;
254
+ applypatch) : ask gittus;;
255
+ archimport) : import;;
256
cat-file) : plumbing;;
257
check-ref-format) : plumbing;;
258
commit-tree) : plumbing;;
259
convert-objects) : plumbing;;
260
+ cvsexportcommit) : export;;
261
+ cvsimport) : import;;
262
cvsserver) : daemon;;
263
daemon) : daemon;;
264
+ fsck-objects) : plumbing;;
265
fetch-pack) : plumbing;;
266
+ fmt-merge-msg) : plumbing;;
267
hash-object) : plumbing;;
268
http-*) : transport;;
269
index-pack) : plumbing;;
270
+ init-db) : deprecated;;
271
local-fetch) : plumbing;;
272
mailinfo) : plumbing;;
273
mailsplit) : plumbing;;
@@ -272,9 +280,13 @@ __git_commands ()
280
parse-remote) : plumbing;;
281
patch-id) : plumbing;;
282
peek-remote) : plumbing;;
283
+ prune) : plumbing;;
284
+ prune-packed) : plumbing;;
285
+ quiltimport) : import;;
286
read-tree) : plumbing;;
287
receive-pack) : plumbing;;
288
reflog) : plumbing;;
289
+ repo-config) : plumbing;;
290
rerere) : plumbing;;
291
rev-list) : plumbing;;
292
rev-parse) : plumbing;;
@@ -285,14 +297,19 @@ __git_commands ()
297
show-index) : plumbing;;
298
ssh-*) : transport;;
299
stripspace) : plumbing;;
300
+ svn) : import export;;
301
+ svnimport) : import;;
302
symbolic-ref) : plumbing;;
303
+ tar-tree) : deprecated;;
304
unpack-file) : plumbing;;
305
unpack-objects) : plumbing;;
306
+ update-index) : plumbing;;
307
update-ref) : plumbing;;
308
update-server-info) : daemon;;
309
upload-archive) : plumbing;;
310
upload-pack) : plumbing;;
311
write-tree) : plumbing;;
312
+ verify-tag) : plumbing;;
313
*) echo $i;;
314
esac
315
done
@@ -834,7 +851,6 @@ _git ()
851
pull) _git_pull ;;
852
push) _git_push ;;
853
rebase) _git_rebase ;;
837
- repo-config) _git_config ;;
854
reset) _git_reset ;;
855
show) _git_show ;;
856
show-branch) _git_log ;;