app/models/merge_request.rb
# interdiff has a bug with some git headers in the patch, the bug was already fixed
# but most distro doesn't have this fix yet.
# https://github.com/twaugh/patchutils/commit/14261ad5461e6c4b3ffc2f87131601ff79e2a0fc
interdiff has a bug with some git headers in the patch, the bug was already fixed
but most distro doesn't have this fix yet.
interdiff has a bug with some git headers in the patch the bug was already fixed but most distro doesn ' t have this fix yet .
def prune_git_headers!(diff)
    GIT_HEADERS.each do |header|
      diff.gsub!(header, '')
    end
    diff
  end
def prune_git_headers! ( diff ) GIT_HEADERS . each do | header | diff . gsub! ( header , '' ) end diff end
interdiff has a bug with some git headers in the patch, the bug was already fixed
but most distro doesn't have this fix yet.
interdiff has a bug with some git headers in the patch the bug was already fixed but most distro doesn ' t have this fix yet .
diff