mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
Remove unused diff options
This commit is contained in:
parent
72851486d8
commit
14a73337ce
@ -320,8 +320,6 @@ namespace v8_extensions {
|
||||
return CefV8Value::CreateNull();
|
||||
|
||||
int size = strlen(text);
|
||||
git_diff_options options = GIT_DIFF_OPTIONS_INIT;
|
||||
options.context_lines = 1;
|
||||
std::vector<git_diff_range> ranges;
|
||||
if (git_diff_blob_to_buffer(blob, text, size, NULL, NULL, CollectDiffHunk, NULL, &ranges) == GIT_OK) {
|
||||
CefRefPtr<CefV8Value> v8Ranges = CefV8Value::CreateArray(ranges.size());
|
||||
|
Loading…
Reference in New Issue
Block a user