Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request : Expose jgit CloneCommand.setCloneAllBranches() method in Grgit CloneOp #145

Closed
dchesterman opened this issue Feb 3, 2017 · 1 comment

Comments

@dchesterman
Copy link

dchesterman commented Feb 3, 2017

Was playing around in jgit with trying to clone just the reachable master refs for large projects.

Request to expose this method in the Grgit CloneOp

	/**
	 * @param cloneAllBranches
	 *            true when all branches have to be fetched (indicates wildcard
	 *            in created fetch refspec), false otherwise.
	 * @return {@code this}
	 */
	public CloneCommand setCloneAllBranches(boolean cloneAllBranches) {
		this.cloneAllBranches = cloneAllBranches;
		return this;
	}
@ajoberstar ajoberstar added this to the wishlist milestone Feb 4, 2017
@ajoberstar
Copy link
Owner

Thanks for the feature request. I'm not sure when my next round of work on grgit will happen (or if this would be in it), but I'd certainly be willing to take a pull request.

@ajoberstar ajoberstar removed this from the wishlist milestone Apr 14, 2018
stebbi pushed a commit to stebbi/grgit that referenced this issue May 21, 2020
ajoberstar added a commit that referenced this issue Sep 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants