chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1c804cb
)
Fixed completion function hardcoding .git/.
author
Yann Dirson
<ydirson@altern.org>
Mon, 20 Aug 2007 21:36:00 +0000
(22:36 +0100)
committer
Catalin Marinas
<catalin.marinas@gmail.com>
Mon, 20 Aug 2007 21:36:32 +0000
(22:36 +0100)
Signed-off-by: Yann Dirson <ydirson@altern.org>
contrib/stgit-completion.bash
patch
|
blob
|
blame
|
history
diff --git
a/contrib/stgit-completion.bash
b/contrib/stgit-completion.bash
index 2d0d5f23224cbbd8b4e242ba890426839b22a7d2..7ae9e6a8bb03bbcc3766ea3f3e5369881d4f3b23 100644
(file)
--- a/
contrib/stgit-completion.bash
+++ b/
contrib/stgit-completion.bash
@@
-108,7
+108,7
@@
_all_other_patches ()
_all_branches ()
{
local g=$(_gitdir)
_all_branches ()
{
local g=$(_gitdir)
- [ "$g" ] && (cd
.git
/patches/ && echo *)
+ [ "$g" ] && (cd
$g
/patches/ && echo *)
}
_conflicting_files ()
}
_conflicting_files ()