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

Bug 358893

Summary: Fetch from Upstream reports "initial : initial [rejected]" error without clue how to fix it
Product: [Technology] EGit Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3 CC: markus.kell.r, remy.suen
Version: 1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Picture showing the issue none

Description Dani Megert CLA 2011-09-26 09:56:15 EDT
1.1.0.201109151100-r.

Fetching from Upstream constantly reports an error:
"inital : initial [rejected]"

Steps:
1. start new workspace with Juno M2
2. install EGit 1.1.0.201109151100-r (or newer)
3. clone ssh://git.eclipse.org/gitroot/platform/eclipse.platform.ui.git
4. wait until all is cloned
5. via 'Git Repositories' view: Fetch from Upstream
==> error

This is a blocker for me as I have no clue whether the repository is in a broken state or whether this is some other sever issue.
Comment 1 Dani Megert CLA 2011-09-26 09:58:23 EDT
Created attachment 204010 [details]
Picture showing the issue
Comment 2 Remy Suen CLA 2011-09-26 10:40:48 EDT
It seems to be related to tags (or maybe Windows because of its case-insensitivity?). I can keep punching in 'git fetch origin' on the command line and it'll keep giving me the same output.

------------------

C:\git\tmp\eclipse.platform.ui>git fetch origin
From git://git.eclipse.org/gitroot/platform/eclipse.platform.ui
 * [new tag]         initial    -> initial
From git://git.eclipse.org/gitroot/platform/eclipse.platform.ui
 * [new tag]         INITIAL    -> INITIAL

C:\git\tmp\eclipse.platform.ui>
Comment 3 Dani Megert CLA 2011-09-26 10:48:58 EDT
OK. So the workaround is to remove those tags.
I saw that on can delete a branch via UI but not tags.
Comment 4 Dani Megert CLA 2011-09-26 11:02:16 EDT
Reducing severity since I now know it's coming from the fact that tags (or branches) with different casing are broken on Windows and that the affected tag is not critical.
Comment 5 Dani Megert CLA 2011-09-28 04:20:40 EDT
> I saw that on can delete a branch via UI but not tags.

We figured out how to do this. Actually we renamed one of the tags (add+delete).

==> The steps from comment 0 won't allow to reproduce the problem.