Commit e5de0068 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'tar_version_encoding' into 'master'

Fix tar version string encoding bug
parents 41231862 da347d1b
...@@ -10,6 +10,7 @@ v 6.9.0 ...@@ -10,6 +10,7 @@ v 6.9.0
- Stop refreshing comments when the tab is hidden - Stop refreshing comments when the tab is hidden
- Improve issue and merge request mobile UI (Drew Blessing) - Improve issue and merge request mobile UI (Drew Blessing)
- Document how to convert a backup to PostgreSQL - Document how to convert a backup to PostgreSQL
- Fix locale bug in backup manager
v 6.8.0 v 6.8.0
- Ability to at mention users that are participating in issue and merge req. discussion - Ability to at mention users that are participating in issue and merge req. discussion
......
...@@ -101,7 +101,7 @@ module Backup ...@@ -101,7 +101,7 @@ module Backup
def tar_version def tar_version
tar_version, _ = Gitlab::Popen.popen(%W(tar --version)) tar_version, _ = Gitlab::Popen.popen(%W(tar --version))
tar_version.split("\n").first tar_version.force_encoding('locale').split("\n").first
end end
end end
end 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