X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/340793d1f7dc889720ceef3271ca58187474d110..33ff9cdd840cfe2780acc41d88d33c8c3bc2761e:/contrib/stgit-completion.bash diff --git a/contrib/stgit-completion.bash b/contrib/stgit-completion.bash index 8d49e21..1467c28 100644 --- a/contrib/stgit-completion.bash +++ b/contrib/stgit-completion.bash @@ -11,15 +11,13 @@ # . ~/.stgit-completion.bash _stg_commands=" - add - applied branch delete diff clean clone + coalesce commit - cp edit export files @@ -43,14 +41,12 @@ _stg_commands=" rename repair resolved - rm series show sink status sync top - unapplied uncommit unhide " @@ -238,6 +234,7 @@ _stg () # repository commands id) _stg_patches $command _all_patches ;; # stack commands + coalesce) _stg_patches $command _applied_patches ;; float) _stg_patches $command _all_patches ;; goto) _stg_patches $command _all_other_patches ;; hide) _stg_patches $command _unapplied_patches ;; @@ -262,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 ;;