feat(diff): do not try external when out of memory

- Also merge diff_buf_idx_tp into diff_buf_idx.
This commit is contained in:
Lewis Russell
2024-07-31 16:43:21 +01:00
committed by Lewis Russell
parent ee5aaba215
commit fd65422b99
2 changed files with 36 additions and 81 deletions

View File

@@ -739,8 +739,6 @@ struct file_buffer {
// The number for times the current line has been flushed in the memline.
int flush_count;
int b_diff_failed; // internal diff failed for this buffer
};
// Stuff for diff mode.