libgit2/libgit2 — pull request #2166 by ethomson (2014-03-06 19:55:28+00:00)
Title: clone: don't overwrite original error message

When clone fails, we clean up the target directory. When *that* fails, we overwrite the original error message with the new one. The original is the more interesting error message.