Write on stderr and use cr for updating the progress status.
Use a current patched version of libgit2.