forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fsmonitor: invalidate entire cone on directory move/rename
Invalidate the CE_FSMONITOR_VALID bit for all of the files in the cone under a directory when it is moved or renamed. Previously, we only invalidated the files immediately contained within the directory, but that ignored the fact that the pathnames of nested items also changed. Signed-off-by: Jeff Hostetler <[email protected]>
- Loading branch information
1 parent
711baf1
commit 5be8f5c
Showing
2 changed files
with
68 additions
and
10 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