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

Bug 311902

Summary: "Bare" Repositories should not return a working directory
Product: [Technology] JGit Reporter: Mathias Kinzler <mathias.kinzler>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Mathias Kinzler CLA 2010-05-06 10:59:34 EDT
The "Repository" interface always returns a File on getWorkDir(); however, if the repository is configured as being "bare", this should either throw an Exception or simply return null.
Comment 1 Mathias Kinzler CLA 2010-06-14 05:04:55 EDT
Code Review on

http://egit.eclipse.org/r/#change,836
Comment 2 Mathias Kinzler CLA 2010-06-18 10:29:22 EDT
Merged as 3c51b35e03efc268dda087d9eec1596a35faee3a