-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate redundant check of index start against ctime
When (the first version of) this check was added 10 years ago in b4b4ef1, it was presumably to ensure that "index; save; touch; index" in the same second would flag a file as needing saving. Since then, tmax has been added in the indexing process to solve the problem by capping timestamps stored in the index. This capping means that a file with ctime in the same second as an indexing start will be picked up on both the indexes in the example above - there's no need to special case the check. Signed-off-by: Aidan Hobson Sayers <[email protected]> Reviewed-by: Rob Browning <[email protected]> Tested-by: Rob Browning <[email protected]>
- Loading branch information
Showing
2 changed files
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters