Download raw body.
tog: keymaps to navigate to prev/next file/hunk in the diff
On Mon, Aug 01, 2022 at 02:02:22PM +1000, Mark Jamsek wrote: > Rebased diff is the same as the previous except, as suggested, we now > error in diff_{prev,next}_index() if the requested line type does not > exist in the file, Hmm. Reading this now, making this a hard error does not seem useful. We always allow users to type keys which trigger a lookup for a specific line type. If no such type of line exists, neither an infinite loop nor an error exit are useful. So perhaps diff_{prev,next}_index() should return void, and behave like a no-op in case the requested line type does not exist in the file? From the user's point of view, tog would then not react to the key at all if there is no line it could jump to.
tog: keymaps to navigate to prev/next file/hunk in the diff