# [StGit PATCH] Remove 'add' command entries from stgit-completion.bash

5 messages from 2008-08-30 to 2008-09-06. Participants: Shinya Kuribayashi, Karl Hasselström.
Thread: https://gitlist.dev/t/15289

## Shinya Kuribayashi, 2008-08-30 19:46

Subject: [StGit PATCH] Remove 'add' command entries from stgit-completion.bash
Message-ID: <48B9A37B.4060001@ruby.dti.ne.jp>
URL: https://gitlist.dev/e/48B9A37B.4060001%40ruby.dti.ne.jp

```
"stg add" was dropped several months ago.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
---
contrib/stgit-completion.bash |    2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/contrib/stgit-completion.bash b/contrib/stgit-completion.bash
index 1867e6b..a25a603 100644
--- a/contrib/stgit-completion.bash
+++ b/contrib/stgit-completion.bash
@@ -11,7 +11,6 @@
#         . ~/.stgit-completion.bash

_stg_commands="
-    add
    applied
    branch
    delete
@@ -264,7 +263,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 ;;

```

## Shinya Kuribayashi, 2008-08-30 20:30

Subject: [StGit PATCH revised] Remove add/applied/unapplied bash completion entries
Message-ID: <48B9AE01.1010804@ruby.dti.ne.jp>
URL: https://gitlist.dev/e/48B9AE01.1010804%40ruby.dti.ne.jp
In-Reply-To: <48B9A37B.4060001@ruby.dti.ne.jp>

```
These commands are not available any more.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
---
Shinya Kuribayashi wrote:
> "stg add" was dropped several months ago.

Hm, I should have removed applied/unapplied entries also.

thanks,

  Shinya

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

diff --git a/contrib/stgit-completion.bash b/contrib/stgit-completion.bash
index 1867e6b..ac868e7 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
@@ -51,7 +49,6 @@ _stg_commands="
     status
     sync
     top
-    unapplied
     uncommit
     unhide
 "
@@ -264,7 +261,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 ;;

```

## Shinya Kuribayashi, 2008-09-05 17:16

Subject: [StGit PATCH rev3] contrib/stgit-completion.bash: Remove add/applied/cp/rm/unapplied
Message-ID: <48C16966.90009@ruby.dti.ne.jp>
URL: https://gitlist.dev/e/48C16966.90009%40ruby.dti.ne.jp
In-Reply-To: <48B9AE01.1010804@ruby.dti.ne.jp>

```
These commands are no longer available.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
---

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 ;;

```

## Karl Hasselström, 2008-09-06 06:18

Subject: Re: [StGit PATCH rev3] contrib/stgit-completion.bash: Remove add/applied/cp/rm/unapplied
Message-ID: <20080906061810.GB26724@diana.vm.bytemark.co.uk>
URL: https://gitlist.dev/e/20080906061810.GB26724%40diana.vm.bytemark.co.uk
In-Reply-To: <48C16966.90009@ruby.dti.ne.jp>

```
On 2008-09-06 02:16:22 +0900, Shinya Kuribayashi wrote:

> These commands are no longer available.

Thanks again.

> Hope this one is finally get merged. Thanks!

It will -- Catalin and I have both been busy this week, but I have
some time set aside for StGit this weekend.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

```

## Karl Hasselström, 2008-09-06 14:28

Subject: Re: [StGit PATCH rev3] contrib/stgit-completion.bash: Remove add/applied/cp/rm/unapplied
Message-ID: <20080906142827.GA32070@diana.vm.bytemark.co.uk>
URL: https://gitlist.dev/e/20080906142827.GA32070%40diana.vm.bytemark.co.uk
In-Reply-To: <48C16966.90009@ruby.dti.ne.jp>

```
On 2008-09-06 02:16:22 +0900, Shinya Kuribayashi wrote:

> Hope this one is finally get merged.  Thanks!

I've applied your patches and pushed them out on my "safe" branch,
which Catalin pulls into his "master" every now and then.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

```
