git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [completion] Request: Include remote heads as push targets

From
Kevin Ballard <kevin@sb.org>
Date
Oct 22, 2010, 01:11 UTC
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
Previous: Peter van der DoesNext: Marc Branchaud
Message 5 of 10 in “[completion] Request: Include remote heads as push targets”
  1. Marc BranchaudOct 21, 2010
  2. Marc BranchaudOct 21, 2010
  3. Jonathan NiederOct 21, 2010
  4. Peter van der DoesOct 22, 2010
  5. Kevin BallardOct 22, 2010
  6. Marc BranchaudOct 22, 2010
  7. SZEDER GáborOct 23, 2010
  8. Peter van der DoesOct 24, 2010
  9. SZEDER GáborOct 24, 2010
  10. Peter van der DoesOct 24, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.