Skip to content
Snippets Groups Projects
Commit 29a5c901 authored by Georges Racinet's avatar Georges Racinet
Browse files

Diffs: refactoring with a common `Chunk` class

The main purpose is to encapsulate the various accesses to
file contexts, hence

- improving clarity
- making sure to avoid repeated manifest lookups (even though they are
  partially cached, because the C `lazymanifest` should be instantiated
  only once).

We take the opportunity to change some old/new namings in favour of
from/to, clearer to us and more in line with Gitaly protocol namings.

The minor drawback is that some methods do not really
need the change contexts.
parent 03d51755
No related branches found
No related tags found
2 merge requests!232Merged stable branch into default,!228DiffService.GetPatchID and install/config doc
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment