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

Re: Hanging "git mv" on Windows bug report

From
YGYuval Greenfield <ubershmekel@gmail.com>
Date
May 19, 2015, 17:11 UTC
Message-ID
<CANSw7KxvG29k28jp8Aq2ZeeNr2i=mWuirC6Ypno=_JXs7+TPqg@mail.gmail.com>
In-Reply-To
<b4a67dd0e303e009a02055e2cb8785d5@www.dscho.org>
> $ git mv tmp Abc
> fatal: bad source, source=tmp/myfile, destination=Abc/myfile
It works. Thanks.

I'd say this page at https://git-scm.com/download/win should point to https://github.com/git-for-windows/git/releases but sadly I don't have time to give you guys a pull request.

https://github.com/git/git-scm.com/issues/537
Cheers and thanks,
Yuval

On Tue, May 19, 2015 at 6:41 AM, Johannes Schindelin <johannes.schindelin@gmx.de> wrote:

Show 27 quoted lines
> Hi Yuval,
>
> On 2015-05-18 08:50, Yuval Greenfield wrote:
>
>> Here is the command sequence that causes git to stop responding:
>>
>> mkdir mynewthing
>> cd mynewthing
>> git init
>> mkdir abc
>> touch abc/myfile
>> git add abc/myfile
>> git commit -a -m "whatever"
>> git mv abc tmp
>> git mv tmp Abc
>>
>> I wanted to change the case of a committed folder. Since windows is
>> case insensitive that's a bit harder. Perhaps with this version it's
>> impossible?
>>
>> Here's my git bash banner - "Welcome to Git (version
>> 1.9.5-preview20141217)". I'm on Windows 8.1 Pro.
>
> I just tried this with Git for Windows 2.4.1.1 (developers' preview) from https://git-for-windows.github.io/ and it did not hang here (currently on a Windows 7 box). Could you try that and see whether it works for you?
>
> Ciao,
> Johannes
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 3 of 4 in “Hanging "git mv" on Windows bug report”
  1. Yuval GreenfieldMay 18, 2015
  2. Johannes SchindelinMay 19, 2015
  3. Yuval GreenfieldMay 19, 2015
  4. Johannes SchindelinMay 19, 2015

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.