All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ted Pavlic <ted@tedpavlic.com>
To: "Adeodato Simó" <dato@net.com.org.es>
Cc: git <git@vger.kernel.org>,
	"Boyd Stephen Smith Jr." <bss@iguanasuicide.net>
Subject: Re: [PATCH] Update bash completions to prevent unbound variable errors.
Date: Mon, 12 Jan 2009 16:37:20 -0500	[thread overview]
Message-ID: <496BB810.30503@tedpavlic.com> (raw)
In-Reply-To: <20090112212544.GA24941@chistera.yi.org>

> Because (from a quick look) their completion script never expands a
> variable which is not known to be set.

They use $1, $2, etc. In fact, they use $1, $2, and $3 in their _hg, 
which is their main completion function. Why would those be defined there?

In fact, it's $1, $2, $3, and $4 that are causing the problemw ith the 
git completions.

--Ted

-- 
Ted Pavlic <ted@tedpavlic.com>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.

  reply	other threads:[~2009-01-12 21:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 19:58 [PATCH] Update bash completions to prevent unbound variable errors Ted Pavlic
2009-01-12 20:35 ` Boyd Stephen Smith Jr.
2009-01-12 20:40   ` Adeodato Simó
2009-01-12 21:27     ` Boyd Stephen Smith Jr.
2009-01-12 21:31       ` Shawn O. Pearce
2009-01-12 21:38         ` Boyd Stephen Smith Jr.
2009-01-12 21:11   ` Ted Pavlic
2009-01-12 21:21     ` Ted Pavlic
2009-01-12 21:32       ` Shawn O. Pearce
2009-01-12 21:51         ` Ted Pavlic
2009-01-12 21:25     ` Adeodato Simó
2009-01-12 21:37       ` Ted Pavlic [this message]
2009-01-12 21:47         ` Adeodato Simó
2009-01-12 21:40 ` Adeodato Simó

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=496BB810.30503@tedpavlic.com \
    --to=ted@tedpavlic.com \
    --cc=bss@iguanasuicide.net \
    --cc=dato@net.com.org.es \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.