From f1dc6c2618a556d769e529964b38aa7697d2e871 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Mon, 20 Aug 2007 22:36:00 +0100 Subject: [PATCH] Fixed completion function hardcoding .git/. Signed-off-by: Yann Dirson --- contrib/stgit-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () -- 2.11.4.GIT