X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/1c804cbaa55ba2dcdc6bfc33d6f4c86a68e0fcdc..edca53204c2461fd451bf3a8bbb18e59c6260523:/contrib/stgit-completion.bash diff --git a/contrib/stgit-completion.bash b/contrib/stgit-completion.bash index 2d0d5f2..8d49e21 100644 --- a/contrib/stgit-completion.bash +++ b/contrib/stgit-completion.bash @@ -13,7 +13,6 @@ _stg_commands=" add applied - assimilate branch delete diff @@ -21,6 +20,7 @@ _stg_commands=" clone commit cp + edit export files float @@ -41,6 +41,7 @@ _stg_commands=" rebase refresh rename + repair resolved rm series @@ -108,7 +109,7 @@ _all_other_patches () _all_branches () { local g=$(_gitdir) - [ "$g" ] && (cd .git/patches/ && echo *) + [ "$g" ] && (cd $g/patches/ && echo *) } _conflicting_files () @@ -247,7 +248,8 @@ _stg () unhide) _stg_patches $command _hidden_patches ;; # patch commands delete) _stg_patches $command _all_patches ;; - export) _stg_patches $command _applied_patches ;; + edit) _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 ;;