Skip to contentSkip to conversation

Remove 'add' command entries from stgit-completion.bash

PATCH New Shinya Kuribayashi 2 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove 'add' command entries from stgit-completion.bash

"stg add" was dropped several months ago.

---
contrib/stgit-completion.bash | 2 --

1 files changed, 0 insertions(+), 2 deletions(-)
contrib/stgit-completion.bash +0 -0
index 1867e6b..a25a603 100644
@@ -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 ;;
#1 lore raw

PATCH 1/1 Remove add/applied/unapplied bash completion entries

These commands are not available any more.

---

Quoted 1 line · Shinya Kuribayashi

"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(-)
contrib/stgit-completion.bash +0 -0
index 1867e6b..ac868e7 100644
@@ -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 ;;
#2 lore raw

PATCH 1/1 contrib/stgit-completion.bash: Remove add/applied/cp/rm/unapplied

These commands are no longer available.

---

Quoted 3 lines · Shinya Kuribayashi
Quoted 1 line

"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(-)
contrib/stgit-completion.bash +0 -0
index 1867e6b..1467c28 100644
@@ -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 ;;
#3 lore raw

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

Quoted 1 line · Shinya Kuribayashi

These commands are no longer available.

Thanks again.

Quoted 1 line

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.

Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle
#4 lore raw

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

In reply to Shinya Kuribayashi
Quoted 1 line · Shinya Kuribayashi

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.

Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle