From 165dffc15d9e0789ffeea7572348290fde17780a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Sun, 3 Mar 2013 11:23:49 -0800 Subject: [PATCH] Always return array from Git.getLineDiffs() --- src/app/git.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/git.coffee b/src/app/git.coffee index bece56306..0d47cefb5 100644 --- a/src/app/git.coffee +++ b/src/app/git.coffee @@ -144,7 +144,7 @@ class Git @getRepo().getAheadBehindCounts() getLineDiffs: (path, text) -> - @getRepo().getLineDiffs(@relativize(path), text) + @getRepo().getLineDiffs(@relativize(path), text) ? [] _.extend Git.prototype, Subscriber _.extend Git.prototype, EventEmitter