Bug 498314

Summary: Diff with working dir eating RAM.
Product: [Applications] kommit Reporter: mikzyth
Component: generalAssignee: Hamed Masafi <Hamed.Masafi>
Status: RESOLVED FIXED    
Severity: major CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description mikzyth 2025-01-06 11:22:58 UTC
Right clicking on a commit in "Overview" tab and selecting "Diff with working dir" leads to program hang (kommit is using 90-100% CPU time during this), slowly eating all free RAM and eventually almost hanging the OS.
Potentially this can lead to a data loss.
The size of git repository doesn't matter - it can be just one file.
Comment 1 Hamed Masafi 2025-01-12 17:48:53 UTC
Solved in latest commit