mirror of
https://github.com/facebook/sapling.git
synced 2024-12-25 05:53:24 +03:00
ba871d3bdc
Summary: The goal of the stack is to support "rendering" diffs for large files in scs server. Note that rendering is in quotes - we are fine with just showing a placeholder like "Binary file ... differs". This is still better than the current behaviour which just return an error. In order to do that I suggest to tweak xdiff library to accept FileContentType which can be either Normal(...) meaning that we have file content available, or Omitted, which usually means the file is large and we don't even want to fetch it, and we just want xdiff to generate a placeholder. Reviewed By: markbt, krallin Differential Revision: D20389226 fbshipit-source-id: 0b776d4f143e2ac657d664aa9911f6de8ccfea37 |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |