mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fileio: port hotfix from patch 8.1.1379
Patch 8.1.1379 includes a change to a test, added in Patch 8.1.0815. Patch 8.1.0815 includes runtime doc changes to Blob. Neovim does not support Blobs yet.
This commit is contained in:
parent
7995a5e964
commit
c708567262
@ -4845,9 +4845,8 @@ buf_check_timestamp(
|
|||||||
// set b_mtime to stop further warnings (e.g., when executing
|
// set b_mtime to stop further warnings (e.g., when executing
|
||||||
// FileChangedShell autocmd)
|
// FileChangedShell autocmd)
|
||||||
if (!file_info_ok) {
|
if (!file_info_ok) {
|
||||||
// When 'autoread' is set we'll check the file again to see if it
|
// Check the file again later to see if it re-appears.
|
||||||
// re-appears.
|
buf->b_mtime = -1;
|
||||||
buf->b_mtime = (buf->b_p_ar >= 0 ? buf->b_p_ar : p_ar);
|
|
||||||
buf->b_orig_size = 0;
|
buf->b_orig_size = 0;
|
||||||
buf->b_orig_mode = 0;
|
buf->b_orig_mode = 0;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user