1. 02 Mar, 2021 1 commit
    • Vasilii Iakliushin's avatar
      Introduce WordDiff parser · 4d3964ec
      Vasilii Iakliushin authored
      Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/16950
      
      We want to introduce a support for `git diff --word-diff=porcelain`
      format. This format has differences from the default `git diff`.
      
      Each line in the output can start with:
      ` ` - shows that data in this chunk is unchanged
      `+` - shows that data in this chunk is added
      `-` - shows that data in this chunk is removed
      `~` - a newline character
      
      The parser converts word-diff format to the collection of
      `Gitlab::Diff::Line` object that we use for diff representation.
      4d3964ec
  2. 23 Feb, 2021 39 commits