Re: [PATCH] Update bash completions to prevent unbound variable errors.
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Jan 12, 2009, 21:32 UTC
- Message-ID
- <20090112213213.GM10179@spearce.org>
- In-Reply-To
- <496BB442.90107@tedpavlic.com>
Ted Pavlic <ted@tedpavlic.com> wrote:
Show 12 quoted lines
>> (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.