summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-14 23:49:19 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-14 23:49:19 +0200
commit5ac434a60e7714e1248fd37f741f2a96641d4440 (patch)
tree0486e8bf34a6d348c8ebcabe05d6350a6ff335c3
parenta7bcc2eb5ce47a691e2afa3d5e597eb1710600ca (diff)
parent15e18c2e5e686276d663efb8d6729a54a7d83d11 (diff)
downloadgitlab-ce-5ac434a60e7714e1248fd37f741f2a96641d4440.tar.gz
Merge branch 'master' of github.com:gitlabhq/gitlabhq
-rw-r--r--lib/utils.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/utils.rb b/lib/utils.rb
index 677322c98d4..82463f9ec0c 100644
--- a/lib/utils.rb
+++ b/lib/utils.rb
@@ -34,6 +34,10 @@ module Utils
:c
when /(\.cpp|\.hpp|\.c++|\.h++|\.cc|\.hh|\.cxx|\.hxx)$/
:cpp
+ when /(\.d|\.di)$/
+ :d
+ when /(\.hs|\.lhs)$/
+ :haskell
when /(\.rb|\.ru|\.rake|Rakefile|\.gemspec|\.rbx|Gemfile)$/
:ruby
when /(\.py|\.pyw|\.sc|SConstruct|SConscript|\.tac)$/