Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349661 - Log does not work for repos without local branches
Summary: Log does not work for repos without local branches
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Szymon Brandys CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 349663
  Show dependency tree
 
Reported: 2011-06-17 05:08 EDT by Szymon Brandys CLA
Modified: 2011-09-02 03:47 EDT (History)
3 users (show)

See Also:
malgorzata.tomczyk: review+


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:08:07 EDT
Steps:
1) Clone git://github.com/bokowski/empty.git
2) Go to Navigator and try to open Git Log
3) There are no branches in the repo and in the console we can see lots of 400 errors

We should rather return 404 (Not Found) and handle it well in Git Log. We also should disable the Git log action in Navigator. I'll raise a separate bug for it, since it may require a fix in JGit.
Comment 1 Szymon Brandys CLA 2011-06-17 05:25:08 EDT
Fixed with 908052e7fbc7634a47ad0f78ee377b4b0a4572b3. I also opened Bug 349663.