From: Yann Dirson Date: Mon, 20 Aug 2007 21:36:00 +0000 (+0100) Subject: Fixed completion function hardcoding .git/. X-Git-Tag: v0.14~134 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/f1dc6c2618a556d769e529964b38aa7697d2e871?ds=inline Fixed completion function hardcoding .git/. Signed-off-by: Yann Dirson --- diff --git a/contrib/stgit-completion.bash b/contrib/stgit-completion.bash index 2d0d5f2..7ae9e6a 100644 --- a/contrib/stgit-completion.bash +++ b/contrib/stgit-completion.bash @@ -108,7 +108,7 @@ _all_other_patches () _all_branches () { local g=$(_gitdir) - [ "$g" ] && (cd .git/patches/ && echo *) + [ "$g" ] && (cd $g/patches/ && echo *) } _conflicting_files ()