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

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

From
JWJosef Weidendorfer <josef.weidendorfer@gmx.de>
Date
Mar 3, 2006, 16:34 UTC
Message-ID
<200603031734.16315.Josef.Weidendorfer@gmx.de>
In-Reply-To
<7vbqwo3xo4.fsf@assigned-by-dhcp.cox.net>
On Friday 03 March 2006 06:27, you wrote:
Show 7 quoted lines
> Pavel Roskin <proski@gnu.org> writes:
> 
> > -	ARGS2["${#ARGS2[@]}"]="$_git_relpath${arg%/}"
> > +	ARGS2[${#ARGS2[@]}]="$_git_relpath${arg%/}"
> 
> Is this an application bug?  It looks like a workaround for a
> bug in the shell...
This line in cg-mv is needed to work around at least two
bugs in git-mv:
* "git-mv a/ b/" not working.
  Fix was to strip all trailing slashes of args (fixed in 1.2.4)
* "cd subdir; git-mv ../file ."
  Fix is to run git-mv from base directory (see separate patch for git-mv)
I think cg-mv should be able to be a direct wrapper for git-mv with
the next maintenance release.
Pasky: do you know of other problems with git-mv?
Josef
Previous: Pavel Roskin
Message 8 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.