git 克隆警告:限制文件句柄失败

git clone warning: failed to restrict file handles

从 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 项目回购)

是什么导致了这种行为?存储库源或克隆中是否有问题?

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

所以首先,确保升级到 latest Git for Windows 以查看问题是否仍然存在。

OP JeffP confirms :

Works:

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