[SOLVED] Can't clone pfsense-tools
-
Anybody able to see what's going on and/or what I'm doing wrong here?
$ git clone git@git.pfsense.org:pfsense-tools Cloning into 'pfsense-tools'... remote: Counting objects: 109191, done. remote: Compressing objects: 100% (32212/32212), done. remote: Total 109191 (delta 75757), reused 108498 (delta 75295)Receiving objects Receiving objects: 100% (109191/109191), 62.73 MiB | 187.00 KiB/s, done. Resolving deltas: 100% (75757/75757), done. Checking connectivity... done. error: unable to create file pfPorts/db46/files/patch-dist::configure (Invalid argument) error: unable to create file pfPorts/php53/files/patch-Zend::zend.h (Invalid argument) error: unable to create file pfPorts/php53/files/patch-main::php_config.h.in (Invalid argument) error: unable to create file pfPorts/php55/files/patch-Zend::zend.h (Invalid argument) error: unable to create file pfPorts/php55/files/patch-main::php_config.h.in (Invalid argument) Checking out files: 100% (1168/1168), done. fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry the checkout with 'git checkout -f HEAD'
-
What's your host platform?ย It is failing on the only files that contain a double-colon in the name in the tools repo, and the colon is a reserved character in windows.
-
That may fail on some Windows git clients (msysgit maybe?). It works in cygwin though.
-
I've had other issues with msysgit, cygwin and and *BSD, Linux works :-)
-
I had occasional issues with msysgit and another different older windows git client (gitbash? "GIT for Windows"? I don't remember its name). Tortoisegit may or may not like those, but I doubt it would work with them.
I've had zero problems with git on cygwin, especially after compiling an up-to-date git client. BSD works well of course, no issues there since that's what we use on all our servers. Linux has been fine also, at least on Ubuntu and Lubuntu where I've used it. Many of the devs use Macs and I haven't heard any complaints from that camp either.
-
Yep, that's my problem. I'm using Git for Windows (first one I found on Google). Windows isn't an ideal development environment anyway, I might just set up my Ubuntu VM with Git et al. Thanks for the help, all.
-
git in cygwin (mintty is great) or msysgit work very well if you're used to using a CLI. I prefer cygwin+mintty because it's dead simple to copy/paste into and out of, whereas using anything that works like a cmd window is clunky and awkward for copy/paste.
-
I might have a look at that. Copy-pasting with a VM can be even more treacherous at times. Thanks Jim!