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

Re: git-mv dest ending with slash would deletes file only

From
JWJosef Weidendorfer <josef.weidendorfer@gmx.de>
Date
Nov 1, 2005, 22:46 UTC
Message-ID
<200511012346.42640.Josef.Weidendorfer@gmx.de>
In-Reply-To
<4366ECF1.1010401@ust.hk>
On Tuesday 01 November 2005 05:20, Ben Lau wrote:
> $ git-mv entry.c Documentation/
> Ignoring path Documentation//entry.c

Instead of mangling all destination paths, I only would strip a trailing slash of the destination argument. See my other mail with the patch.

Thanks for noting this bug, Josef

Previous: Ben Lau
Message 2 of 2 in “git-mv dest ending with slash would deletes file only”
  1. Ben LauNov 1, 2005
  2. Josef WeidendorferNov 1, 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.