From: Kevin Ballard Date: Fri, 22 Oct 2010 01:11:34 GMT Subject: Re: [completion] Request: Include remote heads as push targets Message-ID: <7FC32402-F0D4-4420-B984-ACAB45DBDDB3@sb.org> In-Reply-To: <20101021210842.6545a661@montecarlo.grandprix.int> On Oct 21, 2010, at 6:08 PM, Peter van der Does wrote: > I don't have the knowledge to determine which Bash version is running > in the git.spec.in file. If you could that would be a way to either > install the new version or the old one. Could you instead teach the script how to work on both Bash 3 or Bash 4? If you could extract the references to the completion words into a function, you could define one function for Bash 3 and one for Bash 4, and use ${BASH_VERSINFO[0]} to determine which to use. -Kevin Ballard