diff options
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/diff.c b/src/diff.c index 5844ec923..d9aaec828 100644 --- a/src/diff.c +++ b/src/diff.c @@ -783,6 +783,15 @@ ex_diffupdate(eap) goto theend; } + /* :diffupdate! */ + if (eap != NULL && eap->forceit) + for (idx_new = idx_orig; idx_new < DB_COUNT; ++idx_new) + { + buf = curtab->tp_diffbuf[idx_new]; + if (buf_valid(buf)) + buf_check_timestamp(buf, FALSE); + } + /* Write the first buffer to a tempfile. */ buf = curtab->tp_diffbuf[idx_orig]; if (diff_write(buf, tmp_orig) == FAIL) |