commit | 08f2d9e1049c8aab9de5c0c1343f3feca72c56c2 | [log] [download] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Wed Jul 09 20:25:35 2014 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Thu Jul 10 14:41:15 2014 -0700 |
tree | 979950babd981a4229e7b8644120abd747c2469e | |
parent | 438c52822723c824cc18a0f72229da7c1fd0d2d4 [diff] |
Add JSON view for blame Similar to how we use SoyMapData/SoyListData directly to avoid unnecessary allocation in the HTML path, use a custom type adapter for JSON serialization rather than converting objects needlessly. Ranges are specified as (start, count) using 1-based numbering, which matches "git blame" and "diff -u" (but not JGit). Change-Id: I4b359cc4b8a4e26c2bfcabfa65c6083829518756