Fix commit diff cursor
Merge pull request #532 from cheesypoof/commit-diff-cursor

Fix commit diff cursor