Skip to content

Conversation

@andyrewlee
Copy link
Owner

@andyrewlee andyrewlee commented Jan 28, 2026

Watch .git directory instead of .git/index file directly. When git commits, it atomically replaces the index file (write temp, rename). Since fsnotify watches inodes, the watch was lost when the old index was replaced. Watching the directory avoids this issue.


Open with Devin

Watch .git directory instead of .git/index file directly. When git
commits, it atomically replaces the index file (write temp, rename).
Since fsnotify watches inodes, the watch was lost when the old index
was replaced. Watching the directory avoids this issue.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional flags.

Open in Devin Review

@andyrewlee andyrewlee merged commit bbbde74 into main Jan 28, 2026
1 check passed
@andyrewlee andyrewlee deleted the push-highlight branch January 28, 2026 21:51
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.

2 participants