mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Don't check if root is ignored
This commit is contained in:
@@ -25,7 +25,7 @@ class DirectoryView extends View
|
||||
repo = @project.repo
|
||||
if repo?
|
||||
path = @directory.getPath()
|
||||
@directoryName.addClass('ignored') if repo.isPathIgnored(path)
|
||||
@directoryName.addClass('ignored') if parent and repo.isPathIgnored(path)
|
||||
if not parent and path is repo.getWorkingDirectory()
|
||||
@directoryName.addClass('repository-icon')
|
||||
else if repo.isSubmodule(path)
|
||||
|
||||
Reference in New Issue
Block a user