Re: [PATCH] Update bash completions to prevent unbound variable errors.

From
Shawn O. Pearce <hidden>
Date
2016-06-15 22:45:56
Reply to
Ted Pavlic, 2016-06-15
Ted Pavlic [off-list ref] wrote:
quoted
(note: for some reason Mercurial's bash completion script does not have
this problem; they use $1 directly without bash complaining)
It appears like they use

	complete -o bashdefault

whereas Git's uses

	complete -o default

I think that's the difference.
If that's all we need to do, that's a simple 1 line change... which
I like.

-- 
Shawn.
Thread (14 messages) 14 messages, 4 authors, last reply 2016-06-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help