-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Git does not notice my modified files #2344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've also asked at Stack Overflow first, just to make sure I haven't overlooked anything: |
The fact that You can see quickly whether a file has that bit set by calling |
@dscho you are absolutely right! Do you know what might cause this flag to be set? I'm running cli and IDEA. IDEA seems to NOT have implemented such a feature (https://youtrack.jetbrains.com/issue/IDEA-76682). Is there some new/automatic way that git could set this flag? |
No. There is a hint, though, at the bottom of As this is not a bug in Git for Windows, I will close this ticket ;-) |
And I assume this flag doesn't get pushed to remote? |
Correct. It lives purely in the Git index (or "staging area"), which is purely local to your worktree. There is no way to propagate this bit into any Git objects that can be pushed to remote repositories. |
Setup
defaults?
to the issue you're seeing?
None that I can think of. I'm on a big corporate network.
Details
CMD
Minimal, Complete, and Verifiable example
this will help us understand the issue.
I expect the first git status to show my modified file.
Only after I do
update-index --really-refresh
the file shows up as modified.URL to that repository to help us with testing?
Nope, happens many times a day on any one of my 90 corporate repositories. I've cloned all of the repositories multiple times. I've reinstalled git4win 2.23. This is my config:
The text was updated successfully, but these errors were encountered: