mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use absolute path when calling Git.isPathIgnored
This commit is contained in:
@@ -96,7 +96,7 @@ class Project
|
||||
@ignoreRepositoryPath(path)
|
||||
|
||||
ignoreRepositoryPath: (path) ->
|
||||
@hideIgnoredFiles and @repo.isPathIgnored(path)
|
||||
@hideIgnoredFiles and @repo.isPathIgnored(fs.join(@getPath(), path))
|
||||
|
||||
ignorePathRegex: ->
|
||||
@ignoredPathRegexes.map((regex) -> "(#{regex.source})").join("|")
|
||||
|
||||
Reference in New Issue
Block a user