Skip to content

Conversation

alex-courtis
Copy link
Member

@alex-courtis alex-courtis commented Nov 7, 2022

fixes #1720

supersede #1725

.git watches only for useful files.

Use case: git operations that don't affect files, such as stage, commit etc.

Tested:

  • add
  • restore --staged
  • commit
  • revert
  • init - not functional but not a regression

@alex-courtis alex-courtis changed the title fix(#1720): .git watch only HEAD, config and index fix(#1720): .git watch only FETCH_HEAD, HEAD, HEAD.lock, config, index Nov 7, 2022
@alex-courtis
Copy link
Member Author

soaking ~week

@alex-courtis alex-courtis merged commit bcb2a5a into master Nov 12, 2022
@alex-courtis alex-courtis deleted the 1720-simplify-dot-git-watcher branch December 16, 2022 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite Git Refresh Loop When Running Watchman
1 participant