# Hanging "git mv" on Windows bug report

4 messages from 2015-05-18 to 2015-05-19. Participants: Yuval Greenfield, Johannes Schindelin.
Thread: https://gitlist.dev/t/39350

## Yuval Greenfield, 2015-05-18 06:50

Subject: Hanging "git mv" on Windows bug report
Message-ID: <CANSw7Kw7A_kn6yue9TnvGSO9dFzvX8AUZkn0W98Euf384CbnFA@mail.gmail.com>
URL: https://gitlist.dev/e/CANSw7Kw7A_kn6yue9TnvGSO9dFzvX8AUZkn0W98Euf384CbnFA%40mail.gmail.com

```
Hi git,

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.

Cheers,

Yuval

```

## Johannes Schindelin, 2015-05-19 13:41

Subject: Re: Hanging "git mv" on Windows bug report
Message-ID: <b4a67dd0e303e009a02055e2cb8785d5@www.dscho.org>
URL: https://gitlist.dev/e/b4a67dd0e303e009a02055e2cb8785d5%40www.dscho.org
In-Reply-To: <CANSw7Kw7A_kn6yue9TnvGSO9dFzvX8AUZkn0W98Euf384CbnFA@mail.gmail.com>

```
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

```

## Yuval Greenfield, 2015-05-19 17:11

Subject: Re: Hanging "git mv" on Windows bug report
Message-ID: <CANSw7KxvG29k28jp8Aq2ZeeNr2i=mWuirC6Ypno=_JXs7+TPqg@mail.gmail.com>
URL: https://gitlist.dev/e/CANSw7KxvG29k28jp8Aq2ZeeNr2i%3DmWuirC6Ypno%3D_JXs7%2BTPqg%40mail.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:
> 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

```

## Johannes Schindelin, 2015-05-19 19:19

Subject: Re: Hanging "git mv" on Windows bug report
Message-ID: <982e5f6d4194acbb35ffcd5ea8834957@www.dscho.org>
URL: https://gitlist.dev/e/982e5f6d4194acbb35ffcd5ea8834957%40www.dscho.org
In-Reply-To: <CANSw7KxvG29k28jp8Aq2ZeeNr2i=mWuirC6Ypno=_JXs7+TPqg@mail.gmail.com>

```
Hi Yuval,

On 2015-05-19 19:11, Yuval Greenfield wrote:
>> $ 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.

It is not ready yet. I did say "developers' preview", after all.

Ciao,
Johannes

```
