Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336611 - Use ConfigConstants in org.eclipse.egit.core.op.CloneOperation.doInit(IProgressMonitor)
Summary: Use ConfigConstants in org.eclipse.egit.core.op.CloneOperation.doInit(IProgre...
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.11   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL: http://egit.eclipse.org/r/#change,2455
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 08:14 EST by Tomasz Zarna CLA
Modified: 2011-02-09 04:01 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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