Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336611

Summary: Use ConfigConstants in org.eclipse.egit.core.op.CloneOperation.doInit(IProgressMonitor)
Product: [Technology] EGit Reporter: Tomasz Zarna <tomasz.zarna>
Component: CoreAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3 CC: mathias.kinzler
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://egit.eclipse.org/r/#change,2455
Whiteboard:

Description Tomasz Zarna CLA 2011-02-08 08:14:22 EST
I was looking for references of org.eclipse.jgit.lib.ConfigConstants.CONFIG_BRANCH_SECTION to find a place where it is set when cloning a repository. Then I realized that org.eclipse.egit.core.op.CloneOperation.doInit(IProgressMonitor) uses strings like "branch" and "remote" to update the configuration of the repository. This bug is about to fix this and replace the strings with constants from ConfigConstants.
Comment 1 Tomasz Zarna CLA 2011-02-08 08:58:04 EST
http://egit.eclipse.org/r/#change,2455
Comment 2 Tomasz Zarna CLA 2011-02-08 09:04:47 EST
All tests for jgit.core and egit.core pass.
Comment 3 Mathias Kinzler CLA 2011-02-09 04:01:32 EST
Merged as 09467bcf12c3e6fbf5b6e9b6945c59c2ad48ec88