Murmele / Gittyup

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

Wrong Diff - not all changes are shown #725

Open fglueck opened 3 months ago

fglueck commented 3 months ago

If I show the diff with gittyup, not all changes/diffs are displayed. When I open TortoiseMerge, all changes are displayed. Gittyup: grafik

grafik marked and below are not shown.

I update gittyup to current develop and tortoisemerge to current version.

jensenr30 commented 2 months ago

This is likely related to issue #710. I've dug into this a bit and found some issues in the code concerning selecting/displaying diff hunks. There is currently a hard-coded limit of 4 items in DiffView::fetchMore(int fetchWidgets = 4); which sometimes prevents the loaded diff hunks from reaching the bottom of the window, which prevents scrolling updates from loading more diff hunks...

I'm looking into a way to refactor some of this code to make it simpler and more reliable in a way that should solve the issue you're experiencing...