stgit-completion.bash: Remove add/applied/cp/rm/unapplied
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 6 Sep 2008 08:16:22 +0000 (10:16 +0200)
committerKarl Hasselström <kha@treskal.com>
Sat, 6 Sep 2008 08:16:31 +0000 (10:16 +0200)
These commands are no longer available.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Signed-off-by: Karl Hasselström <kha@treskal.com>
contrib/stgit-completion.bash

index 1867e6b..1467c28 100644 (file)
@@ -11,8 +11,6 @@
 #         . ~/.stgit-completion.bash
 
 _stg_commands="
-    add
-    applied
     branch
     delete
     diff
@@ -20,7 +18,6 @@ _stg_commands="
     clone
     coalesce
     commit
-    cp
     edit
     export
     files
@@ -44,14 +41,12 @@ _stg_commands="
     rename
     repair
     resolved
-    rm
     series
     show
     sink
     status
     sync
     top
-    unapplied
     uncommit
     unhide
 "
@@ -264,8 +259,6 @@ _stg ()
         # working-copy commands
         diff)   _stg_patches_options $command _applied_patches "-r --range" ;;
        resolved) _complete_files $command "$(_conflicting_files)" ;;
-       add)    _complete_files $command "$(_unknown_files)" ;;
-#      rm)     _complete_files $command "$(_known_files)" ;;
        # commands that usually raher accept branches
        branch) _complete_branch $command _all_branches ;;
        rebase) _complete_branch $command _all_branches ;;