Use absolute path when calling Git.isPathIgnored

This commit is contained in:
Kevin Sawicki
2012-11-19 09:55:26 -08:00
parent 9ebcf5a848
commit a249b81c4d

View File

@@ -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("|")