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