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

[PATCH 1/3] cg-mv doesn't work with bash 3.1.7 due to excessive quotes

From
PRPavel Roskin <proski@gnu.org>
Date
Mar 3, 2006, 01:11 UTC
Message-ID
<20060303011154.14619.71590.stgit@dv.roinet.com>
Signed-off-by: Pavel Roskin <proski@gnu.org>
---
 cg-mv |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cg-mv b/cg-mv
index c42853c..d5618ba 100755
--- a/cg-mv
+++ b/cg-mv
@@ -38,7 +38,7 @@ done
 # Strip trailing / which is something GIT does not bear well.
 ARGS2=()
 for arg in "${ARGS[@]}"; do
-	ARGS2["${#ARGS2[@]}"]="$_git_relpath${arg%/}"
+	ARGS2[${#ARGS2[@]}]="$_git_relpath${arg%/}"
 done
 
 git-mv $force "${ARGS2[@]}"
Next: Pavel Roskin
Message 1 of 8 in “cg-mv doesn't work with bash 3.1.7 due to excessive quotes”
  1. 1/3 cg-mv doesn't work with bash 3.1.7 due to excessive quotesPavel Roskin, Mar 3, 2006
  2. 2/3 Make tutorial-script work with current cogitoPavel Roskin, Mar 3, 2006
  3. Petr BaudisMar 19, 2006
  4. 3/3 Allow the tutorial script to be run by "make test"Pavel Roskin, Mar 3, 2006
  5. Junio C HamanoMar 3, 2006
  6. Pavel RoskinMar 3, 2006
  7. Pavel RoskinMar 10, 2006
  8. Josef WeidendorferMar 3, 2006

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.