From: Yann Dirson Date: Thu, 02 Aug 2007 20:18:41 GMT Subject: [StGIT PATCH 6/6] Fixed completion function hardcoding .git/. Message-ID: <20070802201841.16614.85746.stgit@gandelf.nowhere.earth> In-Reply-To: <20070802200704.16614.57993.stgit@gandelf.nowhere.earth> Signed-off-by: Yann Dirson --- contrib/stgit-completion.bash | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 ()