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

Bug 337691

Summary: No value for key branch.master.merge found in configuration
Product: [Technology] EGit Reporter: Kay Huber <quorg.xtn>
Component: CoreAssignee: Mathias Kinzler <mathias.kinzler>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: stefan.lay
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Kay Huber CLA 2011-02-21 03:56:18 EST
Eclipse 3.6.1

Steps to reproduce:
* create an empty (non-bare) git repository
* In the "Git Repositories" view, right click the fresh repo and select "Pull"

-> Error message is shown and following log appears in eclipse' error.log:

org.eclipse.jgit.api.errors.InvalidConfigurationException: No value for key branch.master.merge found in configuration
	at org.eclipse.jgit.api.PullCommand.call(PullCommand.java:189)
	at org.eclipse.egit.core.op.PullOperation$1.run(PullOperation.java:68)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
	at org.eclipse.egit.core.op.PullOperation.execute(PullOperation.java:77)
	at org.eclipse.egit.ui.internal.repository.tree.command.PullCommand$1.run(PullCommand.java:66)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Mathias Kinzler CLA 2011-02-22 06:53:25 EST
Code review at

http://egit.eclipse.org/r/#change,2563
Comment 2 Stefan Lay CLA 2011-02-23 10:01:14 EST
Fixed with 5dda3e2129f4c3b698d6cd5978685582ce8c096b