diff --git a/src/git.coffee b/src/git.coffee index c1fb57853..c9f64eed9 100644 --- a/src/git.coffee +++ b/src/git.coffee @@ -216,7 +216,8 @@ class Git # # Returns a Number representing the status. getDirectoryStatus: (directoryPath) -> - directoryPath = "#{directoryPath}/" + {sep} = require 'path' + directoryPath = "#{directoryPath}#{sep}" directoryStatus = 0 for path, status of @statuses directoryStatus |= status if path.indexOf(directoryPath) is 0