diff options
author | Micaël Bergeron <mbergeron@gitlab.com> | 2018-02-16 13:49:07 -0500 |
---|---|---|
committer | Micaël Bergeron <mbergeron@gitlab.com> | 2018-02-16 13:51:19 -0500 |
commit | af5cd10e00402937310dfe8e4dfa48b0c15b157a (patch) | |
tree | 34a52733ab36f4b631d626bccc090c23e04d5286 /lib | |
parent | f9492554617d807b35358cb799d26e3422dd4c71 (diff) | |
download | gitlab-ce-af5cd10e00402937310dfe8e4dfa48b0c15b157a.tar.gz |
applying feedback32564-fix-double-system-closing-notes
# modified: lib/gitlab/git/commit.rb
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/git/commit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/git/commit.rb b/lib/gitlab/git/commit.rb index 28a8a79e36e..ea59978c58a 100644 --- a/lib/gitlab/git/commit.rb +++ b/lib/gitlab/git/commit.rb @@ -473,7 +473,8 @@ module Gitlab def parent_ids=(shas) @parent_ids = case shas - when String then JSON.parse(shas) + when String + JSON.parse(shas) else shas end |