X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/blobdiff_plain/1c804cbaa55ba2dcdc6bfc33d6f4c86a68e0fcdc..03af1025e51fb68a86b11197e78e2bed3a68e55d:/contrib/stgit-completion.bash diff --git a/contrib/stgit-completion.bash b/contrib/stgit-completion.bash index 2d0d5f2..b3b23d4 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,6 +248,7 @@ _stg () unhide) _stg_patches $command _hidden_patches ;; # patch commands delete) _stg_patches $command _all_patches ;; + edit) _stg_patches $command _applied_patches ;; export) _stg_patches $command _applied_patches ;; files) _stg_patches $command _all_patches ;; log) _stg_patches $command _all_patches ;;