Murmele / Gittyup

Understand your Git history!
https://murmele.github.io/Gittyup
MIT License
1.56k stars 113 forks source link

Gittyup detectects a non-existing change and crashes on Discard File usage #586

Open 0verEngineer opened 1 year ago

0verEngineer commented 1 year ago

Gittyup has detected a change in .idea/misc.xml after i deleted the .idea directory CLion (a Jetbrains IDE) has created and reopened the Project. The file was shown in the Staged Files-TreeView but there was no change shown as the file was exactly the same but a new one. The usage of the 'Discard File' Button has crashed the app.

I then unstaged the change in Gittyup and the change is gone now. It is also not shown if i use git status.

I also tried to reproduce it by modifiying the edit timestamp of a file.

I am not able to reproduce it atm, however the crash can eventually be fixed by trying the Discard File-Function with files without changes or a prepared file.