X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/ed60fdae02d9317475eb64328ec683e1148c3f7b..f4e6a60e96e4c06951fd1da2cd5faa52f7f4154d:/contrib/stgit-completion.bash diff --git a/contrib/stgit-completion.bash b/contrib/stgit-completion.bash index b1d2730..1467c28 100644 --- a/contrib/stgit-completion.bash +++ b/contrib/stgit-completion.bash @@ -11,16 +11,13 @@ # . ~/.stgit-completion.bash _stg_commands=" - add - applied - assimilate branch delete diff clean clone + coalesce commit - cp edit export files @@ -42,15 +39,14 @@ _stg_commands=" rebase refresh 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 ;; @@ -249,7 +246,7 @@ _stg () # patch commands delete) _stg_patches $command _all_patches ;; edit) _stg_patches $command _applied_patches ;; - export) _stg_patches $command _applied_patches ;; + export) _stg_patches $command _all_patches ;; files) _stg_patches $command _all_patches ;; log) _stg_patches $command _all_patches ;; mail) _stg_patches $command _all_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 ;;