Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running a FreeBSD 8.2 server with GIT 1.7.4.1

Attempting to clone anything, like

$ git clone https://github.com/joyent/node.git node

ends up, quickly, giving me this

Cloning into node...

and the only thing in the directory is this file

$ git-remote-https.core

(My above example is for node.js, but I get the same results for anything on GitHub)
Any clues as to why the repo isn't being cloned for me?? No error messages, just that file, which I have no idea what it is

share|improve this question

4 Answers 4

up vote 5 down vote accepted

git-remote-https.core is the memory of the git-remote-https process at the time it crashed. Yes, it crashed. Why is anybody's guess.

I would suggest recompiling GIT from ports and trying that. If it still crashes then I would recommend recompiling from ports but with gdb enabled, then you can use gdb to examine the core dump (as that file is known) to see where and why it crashed.

It may be an incompatibility between library versions, in which case compiling from ports usually fixes it, or it may be something more serious.

share|improve this answer

If this starts happening immediately after a portupgrade -a or equivalent that upgraded git or openssl, try recompiling libcurl (e.g. portupgrade -f curl).

share|improve this answer

Upgrading curl and openssl fixed the issue for me.

share|improve this answer

No need to guess check on core: http://www.freebsd.org/doc/en/books/developers-handbook/debugging.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.