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

Re: Latest cogito broken with bash-3.1

From
Petr Baudis <pasky@suse.cz>
Date
Dec 11, 2005, 00:11 UTC
Message-ID
<20051211001106.GV22159@pasky.or.cz>
In-Reply-To
<1134220724.15125.4.camel@blade>
  Hello,

Dear diary, on Sat, Dec 10, 2005 at 02:18:44PM CET, I got a letter where Marcel Holtmann <marcel@holtmann.org> said that...

Show 9 quoted lines
> The cogito is the latest from kernel.org and when calling cg-commit it
> fails with this message:
> 
> cg-commit: line 200: syntax error near unexpected token `('
> cg-commit: line 200: `       eval commitfiles=($(cat $filter | path_xargs git-diff-index -r -m HEAD -- | \'
> 
> I played a little bit with it and it seems all the eval statements are
> broken with this bash version. I have no clue how to fix this, but maybe
> you do.
  it seems like the newer bash is stricter than the older versions in
some obscure regards. Quoting the eval arguments (which is the proper
thing to do anyway) fixed that particular problem; I've hit another
problem during a test commit wrt. whitespace separators - I've fixed
that too, and pushed out.
  Thanks,
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Marcel HoltmannNext: Marcel Holtmann
Message 2 of 10 in “Latest cogito broken with bash-3.1”
  1. Marcel HoltmannDec 10, 2005
  2. Petr BaudisDec 11, 2005
  3. Marcel HoltmannDec 11, 2005
  4. Petr BaudisDec 12, 2005
  5. Martin LanghoffDec 12, 2005
  6. Petr BaudisDec 12, 2005
  7. Marcel HoltmannDec 12, 2005
  8. Petr BaudisDec 12, 2005
  9. Marcel HoltmannDec 12, 2005
  10. Linus TorvaldsDec 12, 2005

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.