Re: [completion] Request: Include remote heads as push targets
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