Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337691 - No value for key branch.master.merge found in configuration
Summary: No value for key branch.master.merge found in configuration
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.11   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mathias Kinzler CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 03:56 EST by Kay Huber CLA
Modified: 2011-02-23 10: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 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