diff --git a/src/app/git.coffee b/src/app/git.coffee index d9faa40af..239971171 100644 --- a/src/app/git.coffee +++ b/src/app/git.coffee @@ -16,7 +16,8 @@ class Git if repoPath repoPath.substring(0, repoPath.length - 5) - getHead: -> @repo.getHead() || '' + getHead: -> + @repo.getHead() or '' isIgnored: (path) -> path and @repo.isIgnored(path)