Community
Participate
Working Groups
In enableWhenRepositoryHaveHead(Object), an instanceof check is performed on the context as to whether or not it is an EvaluationContext or not. This assumption may not necessarily be valid so HandlerUtil's getVariable(Object, String) method should be used instead for retrieving variables out of an evaluation context.
A proposed change set has been pushed to Gerrit for review. http://egit.eclipse.org/r/#change,3894
merged as 86f6e33d63c668a0f8a6c3938b14884daf4fc2c5
Verified with EGit 1.1.0.201107181713 on Windows XP.