Subject: [StGit PATCH rev3] contrib/stgit-completion.bash: Remove add/applied/cp/rm/unapplied

From: Shinya Kuribayashi <[email-masked]>
Date: Sat, 06 Sep 2008 02:16:22 +0900

These commands are no longer available.

Signed-off-by: Shinya Kuribayashi <[email-masked]>
---

Shinya Kuribayashi wrote:
> > "stg add" was dropped several months ago.
> 
> Hm, I should have removed applied/unapplied entries also.

Sorry for the noise, again.  I've still missed `cp' and `rm', sigh.
Hope this one is finally get merged.  Thanks!

  Shinya

 contrib/stgit-completion.bash |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/contrib/stgit-completion.bash b/contrib/stgit-completion.bash
index 1867e6b..1467c28 100644
--- a/contrib/stgit-completion.bash
+++ b/contrib/stgit-completion.bash
@@ -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 ;;