Phil Whittaker
Phil Whittaker

Reputation: 434

Why did Git stopped tracking added files in sub directory?

I have a sub directory that has suddenly stopped tracking new file additions.
If I change a filename, it sees it has been deleted and all changes to existing files are being tracked.
Other new files are being tracked in different sub directories...

I am not using sub modules and there is no .git directory in the affected sub directory

I have tried to do a git update-index --really-refresh and it did nothing.

I am using git extensions under windows.

How would you troubleshoot that situation?

Upvotes: 3

Views: 3857

Answers (1)

Phil Whittaker
Phil Whittaker

Reputation: 434

Not sure what happened with it but I changed the name of the folder and the new files were tracked again. It appears that the name of the folder was polluted somehow. Does anyone know of a way to fix this and my answer for the time being is just to change the folder name.

Upvotes: 1

Related Questions