git clone警告:无法限制文件句柄

时间:2018-04-30 04:02:17

标签: git github git-for-windows

从Windows CLI,我运行

git clone https://github.com/jef ... 

它似乎克隆了存储库,但并非没有警告,我不确定我是否应该关注。这是第二台开发机器。原件是从另一个推出的。

这是输出:

C:\python-projects>git clone https://github.com/jeffplata/by-examp...

Cloning into 'by-example-account'...
warning: failed to restrict file handles (1450)

warning: failed to restrict file handles (1450)

warning: failed to restrict file handles (1450)

remote: Counting objects: 52, done.
remote: Compressing objects: 100% (38/38), done.
warning: failed to restrict file handles (1450)

remote: Total 52 (delta 11), reused 50 (delta 9), pack-reused 0
Unpacking objects: 100% (52/52), done.

我正在使用Windows 7,git版本2.16.3.windows.1

(这是一个django项目回购)

导致此行为的原因是什么?是从存储库源或克隆中断了吗?

1 个答案:

答案 0 :(得分:1)

this bountysource(和PR 1595),这可能已在2.17中修复。

首先,请务必升级到latest Git for Windows以查看问题是否仍然存在。

OP JeffP确认in the comments

  

使用:

C:\python-projects>git clone github.com/jeffplata/by-ex
   Cloning into 'by-example-account'... 
   remote: Counting objects: 52, done. 
   remote: Compressing objects: 100% (38/38), done. 
   remote: Total 52 (delta 11), reused 50 (delta 9), pack-reused 0 
           Unpacking objects: 100% (52/52), done. 

C:\python-projects>git version git version 2.17.0.windows.1