Thread (5 messages) flat view 5 messages, 2 authors, 2016-06-15
DORMANTno replies

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

From: Shinya Kuribayashi <hidden>
Date: 2016-06-15 22:45:19
Subsystem: the rest · Maintainer: Linus Torvalds

These commands are no longer available.

Signed-off-by: Shinya Kuribayashi <redacted>
---

Shinya Kuribayashi wrote:
quoted
"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 ;;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help