Murmele / Gittyup

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

Please don't load huge file by default, because it is unnecessary & not efficient to do so #652

Open meidikawardana opened 1 year ago

meidikawardana commented 1 year ago

Whenever there is a huge file (in Uncommitted changes, in one of the commits, or everywhere else), it will slow down the app and can potentially make the app crash because of out of memory.

It would be nice not to load files with more than 5MB in size by default, because files like that usually not to be inspected anyway. Examples of those files are: generated files, build files, etc.

And it would be nicer to provide a threshold input in the Settings menu, for the users to decide how large a file to not be loaded by default.

Other than that, I really thankful because my favorite GitAhead app has a continuation in Gittyup. Good app!