Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
refresh 'diff' view in DAG window only when hash of the viewed commit changes #724
Hi, my use case is to look at my commits through "Git DAG" window and clean code before I push it to my repo. It seems that every time I make any changes to the files in git directory (without committing) the the "diff" view renders again and jumps to the top of diff. Then I have to scroll back where was the code I recently reviewed. Is it possible to refresh the diff view only when hash of currently viewed commit changes, please?
This happens in version 2.10 and in the upstream (73408a0)
You have done a great job on git-cola - it is the fastest GUI git tool with clean design and fixing this issue can improve UX a bit. I could make a patch myself if you point me to the file of the change. Thanks.
A quick workaround is to disable inotify support. Maybe we should add a way to disable it for the dag only.
Most of the code is in
You can disable inotify by doing