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

Bug 349666

Summary: [branch] Can't add a new branch to a repo without branches
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: GitAssignee: Project Inbox <orion.git-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: bokowski, simon_kaegi, tomasz.zarna
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 349667    
Bug Blocks:    

Description Szymon Brandys CLA 2011-06-17 05:51:12 EDT
Clone git://github.com/bokowski/empty.git in Orion and try to add a branch. JGit seems to not handle such clones well. I get an exception. The Git console seems to have the same problem. We can clone the repo there, but adding a branch fails.

Either we have it fixed in JGit, or maybe we should not allow to clone such repos as EGit does.
Comment 1 Tomasz Zarna CLA 2011-08-18 12:58:33 EDT
(In reply to comment #0)
> Either we have it fixed in JGit, or maybe we should not allow to clone such
> repos as EGit does.

EGit doesn't forbid you to clone such a repo, but it warns you that the repo is empty.
Comment 2 Tomasz Zarna CLA 2011-08-23 12:28:17 EDT
This is a WONTFIX to me, any objections?
Comment 3 Szymon Brandys CLA 2011-08-23 12:43:12 EDT
Maybe we should add a warning then?
Comment 4 John Arthorne CLA 2015-05-05 14:46:42 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html