Commit b320dc3f authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'resolve-post-checkout-hook-for-pot-file-gen' into 'master'

Resolve post-checkout hook issue with pot generation

See merge request gitlab-org/gitlab!44738
parents 4d3613a0 b6ea9443
......@@ -38,7 +38,7 @@ namespace :gettext do
Rake::Task['gettext:find'].invoke
# leave only the required changes.
unless system(*%w(git checkout -- locale/*/gitlab.po))
unless system(*%w(git -c core.hooksPath=/dev/null checkout -- locale/*/gitlab.po))
raise 'failed to cleanup generated locale/*/gitlab.po files'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment