新增:文件blame 上个版本的行号

This commit is contained in:
yystopf 2022-08-17 18:05:15 +08:00
parent a37d7b9840
commit 911c47df8d
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ json.blame_parts @result_object['blame_parts'] do |part|
json.committed_time render_unix_time(part['commit']['committed_time'])
json.created_time render_unix_time(part['commit']['created_time'])
end
json.previous_number part['previous_number']
json.current_number part['current_number']
json.effect_line part['effect_line']
json.lines part['lines']