diff --git a/src/app/git.coffee b/src/app/git.coffee index 7ba87eb94..38d425288 100644 --- a/src/app/git.coffee +++ b/src/app/git.coffee @@ -17,3 +17,4 @@ class Git return head.substring(10) if head.indexOf('refs/tags/') is 0 return head.substring(13) if head.indexOf('refs/remotes/') is 0 return head.substring(0, 7) if head.match(/[a-fA-F0-9]{40}/) + return head