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

Bug 336884

Summary: "Push to upstream" does not use default refspec as specified in "Configure Push to Upstream..."
Product: [Technology] EGit Reporter: Matthias Sohn <matthias.sohn>
Component: CoreAssignee: Project Inbox <egit.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: mathias.kinzler
Version: 0.11   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Matthias Sohn CLA 2011-02-10 17:56:52 EST
- clone an existing repository containing a simple project and import project (tried with file:// protocol locally and with https:// protocol against github)
- do not configure a push URI and also no push refspec
- do a change and commit it
- Run "Push to upstream"
- This yields an error message saying that there is nothing to push
- but: "Configure Push to Upstream..." says:
   - (for Push URI): No Push URI will use <fetch URI>
   - (for RefSpec): All branches will be pushed using Push Spec "refs/heads/*:refs/heads/*"
Comment 1 Mathias Kinzler CLA 2011-02-11 04:10:53 EST
Fix proposed at

http://egit.eclipse.org/r/#change,2478
Comment 2 Matthias Sohn CLA 2011-02-11 07:22:31 EST
fixed with commit e7c9ae2f11d718e113e8a94741a337a94253f1ec