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

Incompatible '+=' syntax in git-completion.bash

From
MWMatthew Wang <mattwyl@gmail.com>
Date
Jul 24, 2013, 01:54 UTC
Message-ID
<CAK6R3tz73t1HQ2AkeimFDGnmZbFT1PJ5idTbKt8QwsPOSaYqQg@mail.gmail.com>
Hi there,

I noticed a change in commit 734b2f0 on contrib/completion/git-completion.bash which reverted a syntax fix for '+=' syntax [1], the syntax does not work for bash < 3.1. As far as I know, bash 3.0.x is still widely used on some old servers, could someone add the fix back again?

Thanks, Matt

[1] https://github.com/git/git/commit/734b2f0532d847a9f566183982f83ddea8d8d197#commitcomment-3664571
Next: Junio C Hamano
Message 1 of 2 in “Incompatible '+=' syntax in git-completion.bash”
  1. Matthew WangJul 24, 2013
  2. Junio C HamanoJul 24, 2013

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.