Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349666 - [branch] Can't add a new branch to a repo without branches
Summary: [branch] Can't add a new branch to a repo without branches
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 349667
Blocks:
  Show dependency tree
 
Reported: 2011-06-17 05:51 EDT by Szymon Brandys CLA
Modified: 2015-05-05 14:46 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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