Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-plugin
Created: 11/Mar/15 7:21 AM
Description:

I have configured a shallow clone, but in the logs I see

git -c core.askpass=true fetch --tags --progress ssh://git.example.com/example.git +refs/heads/:refs/remotes/origin/ --depth=1

1. --tags is contrary to my purpose. Fetching all tags is a lot.

2. The refspec does not seem to obey what I have configured...this is downloading all refs.

I am interested in only one ref (hence the shallow clone). I should be able to configure it to do

git -c core.askpass=true fetch --progress ssh://git.example.com/example.git +refs/heads/my-branch:refs/remotes/origin/my-branch --depth=1

If there is a way to get this behavior, let me know.

Project: Jenkins
Priority: Major Major
Reporter: Paul Draper
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to