Open GoogleCodeExporter opened 9 years ago
Git should clone an empty repository just fine. The error messages you see are
standard git client error messages when cloning an empty repo.
I'm not sure what problem you are reporting here.
Original comment by James.Mo...@gmail.com
on 26 Jan 2015 at 3:06
I got the same issue like
http://stackoverflow.com/questions/24113420/fail-to-clone-repository-using-ssh-o
n-gitblit
if i try to clone not empty repository, then no problem.
but, i try on empty repository with ssh protocol i got the fatal error.
Original comment by oh4...@gmail.com
on 27 Jan 2015 at 12:58
I'm not totally sure where the problem lies: Gitblit or JGit.
There are two other solutions I'm sure you are aware of:
1. Initialize the repo with a README or gitignore or whatever through the web
ui.
2. Init a local repo, set the remote to your empty repository, and push.
I think I saw you post to the JGit mailing list about this issue. I can't
recall if they said this was a bug in JGit - seems like I remember that.
Are you interested in proposing a PR that resolves the issue?
Original comment by James.Mo...@gmail.com
on 26 Feb 2015 at 3:12
Original issue reported on code.google.com by
oh4...@gmail.com
on 26 Jan 2015 at 6:52