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

Latest cogito broken with bash-3.1

From
MHMarcel Holtmann <marcel@holtmann.org>
Date
Dec 10, 2005, 13:18 UTC
Message-ID
<1134220724.15125.4.camel@blade>
Hi Petr,

I have a Ubuntu Dapper running and since their update to the latest bash version the cg-commit command (and maybe others) is broken. It reports:

GNU bash, version 3.1.0(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc.

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.

Regards
Marcel
Next: Petr Baudis
Message 1 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.