git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hanging "git mv" on Windows bug report
@ 2015-05-18  6:50 Yuval Greenfield
  2015-05-19 13:41 ` Johannes Schindelin
  0 siblings, 1 reply; 4+ messages in thread
From: Yuval Greenfield @ 2015-05-18  6:50 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Hanging "git mv" on Windows bug report
  2015-05-18  6:50 Hanging "git mv" on Windows bug report Yuval Greenfield
@ 2015-05-19 13:41 ` Johannes Schindelin
  2015-05-19 17:11   ` Yuval Greenfield
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Schindelin @ 2015-05-19 13:41 UTC (permalink / raw)
  To: Yuval Greenfield; +Cc: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Hanging "git mv" on Windows bug report
  2015-05-19 13:41 ` Johannes Schindelin
@ 2015-05-19 17:11   ` Yuval Greenfield
  2015-05-19 19:19     ` Johannes Schindelin
  0 siblings, 1 reply; 4+ messages in thread
From: Yuval Greenfield @ 2015-05-19 17:11 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Hanging "git mv" on Windows bug report
  2015-05-19 17:11   ` Yuval Greenfield
@ 2015-05-19 19:19     ` Johannes Schindelin
  0 siblings, 0 replies; 4+ messages in thread
From: Johannes Schindelin @ 2015-05-19 19:19 UTC (permalink / raw)
  To: Yuval Greenfield; +Cc: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-19 19:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-18  6:50 Hanging "git mv" on Windows bug report Yuval Greenfield
2015-05-19 13:41 ` Johannes Schindelin
2015-05-19 17:11   ` Yuval Greenfield
2015-05-19 19:19     ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).