X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/dee79c4cf4eb34d80b925168e76d1114dfc02c2a..e7c542383a6364d422a14704a8ab11c96a976a41:/services/api/app/models/commit.rb diff --git a/services/api/app/models/commit.rb b/services/api/app/models/commit.rb index a3cef64212..2f7e9cd934 100644 --- a/services/api/app/models/commit.rb +++ b/services/api/app/models/commit.rb @@ -235,7 +235,7 @@ class Commit < ActiveRecord::Base begin must_git gitdir, "branch" rescue GitError => e - raise unless /Not a git repository/ =~ e.to_s + raise unless /Not a git repository/i =~ e.to_s # OK, this just means we need to create a blank cache repository # before fetching. FileUtils.mkdir_p gitdir