Community
Participate
Working Groups
It would be nice if JGit provided API for cloning repositories with "--bare" switch. An equivalent of: git clone --bare git://github.com/zaza/test.git test-bare.git
On bug 315015, comment 7 zx mentioned that there is CheckoutCommand in the 'org.eclipse.jgit.api' package and that CloneCommand is coming. I've just pulled changes from git://egit.eclipse.org/jgit.git (master) but I cannot see the first command there. I wonder if I'm on the right branch. Don't want to miss the moment when the CloneCommand (with the bare switch) arrives ;)
I'm working on this. It depends on CheckoutCommand... http://egit.eclipse.org/r/#change,1832 I'll be uploading a CloneCommand patch soon.
Any news here Chris? It looks that you have all the bits in place (FetchCommand and CheckoutCommand). Can I be of any assistance?
Looks like fixed with 4112884ede26000890a5a65a4703b762d93b4336, am I right?
The command works great, the only thing I'm missing is that it doesn't update the repository configuration. To pull changes I had to manually set "merge" and "remote" fields in the configuration.
(In reply to comment #5) > The command works great, the only thing I'm missing is that it doesn't update > the repository configuration. To pull changes I had to manually set "merge" and > "remote" fields in the configuration. Can you open a bug for this? *** This bug has been marked as a duplicate of bug 330860 ***
*** This bug has been marked as a duplicate of bug 334763 ***
(In reply to comment #6) > Can you open a bug for this? Done, it's bug 336621.