Commit 84f2c219 authored by Valery Sizov's avatar Valery Sizov
Browse files

Fix importing inline comment for any diff type

parent 63d68d1c3d1f
......@@ -10,11 +10,11 @@ def file_path
end
def old_pos
inline.fetch('from', nil) || 1
inline.fetch('from', nil)
end
def new_pos
inline.fetch('to', nil) || old_pos || 1
inline.fetch('to', nil)
end
def parent_id
......
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