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

Re: t5801-remote-helpers.sh fails

From
Torsten Bögershausen <tboegi@web.de>
Date
Nov 10, 2012, 19:20 UTC
Message-ID
<509EA8EE.1030908@web.de>
In-Reply-To
<CAMP44s0HtMRaQ91z95cZS73W7tnqYwyKV_2guWJ6u6UP4p5JNw@mail.gmail.com>
On 11/10/2012 08:15 PM, Felipe Contreras wrote:
Show 22 quoted lines
> Hi,
>
> On Sat, Nov 10, 2012 at 2:48 PM, Torsten Bögershausen <tboegi@web.de> wrote:
>
>> on peff/pu t5801 fails, the error is in git-remote-testgit, please see below.
>>
>> That's on my Mac OS X box.
>>
>> I haven't digged further into the test case, but it looks as if
>> "[-+]A  make NAMEs associative arrays"
>> is not supported on this version of bash.
>> /Torsten
>>
>>
>> /Users/tb/projects/git/git.peff/git-remote-testgit: line 64: declare: -A: invalid option
>> declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
>> /Users/tb/projects/git/git.peff/git-remote-testgit: line 66: refs/heads/master: division by 0 (error token is "/master")
>> error: fast-export died of signal 13
>> fatal: Error while running fast-export
>
> What is your bash --version?
>
  bash --version
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
Copyright (C) 2007 Free Software Foundation, Inc.
On the other hand, Documentation/CodingGuidelines says:
   - No shell arrays.
Could we use perl to have arrays?
/Torsten
Previous: Felipe ContrerasNext: Felipe Contreras
Message 3 of 7 in “t5801-remote-helpers.sh fails”
  1. Torsten BögershausenNov 10, 2012
  2. Felipe ContrerasNov 10, 2012
  3. Torsten BögershausenNov 10, 2012
  4. Felipe ContrerasNov 10, 2012
  5. Torsten BögershausenNov 18, 2012
  6. Felipe ContrerasNov 18, 2012
  7. Torsten BögershausenNov 18, 2012

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.