Merge pull request #10758 from atom/fix-status-in-subdir

Fix status in subdir
This commit is contained in:
Josh Abernathy
2016-02-10 15:15:10 -05:00
3 changed files with 31 additions and 2 deletions

View File

@@ -485,6 +485,7 @@ class GitRepository
relativeProjectPaths = @project?.getPaths()
.map (path) => @relativize(path)
.filter (path) -> path.length > 0
.map (path) -> path + '/**'
@statusTask?.terminate()
@statusTask = Task.once @handlerPath, @getPath(), relativeProjectPaths, ({statuses, upstream, branch, submodules}) =>