summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2022-01-25 08:07:29 +0100
committerJohannes Altmanninger <aclopte@gmail.com>2022-01-25 14:15:01 +0100
commit90b070034d3f8094df405cf331367fde3e9c4e50 (patch)
tree5577d8736cba9e49c686b4a8616d0270f9be1322 /src
parentbf239ba77afee503f5b9bd9cf392ca2ad0fd4f8f (diff)
rc diff: skip email quotes in diff-jump
When reading and writing emails that contain patches (possibly email-quoted), it can be convenient to the jump to the source file. Allow this by making diff-jump (bound to <ret> in git-diff buffers) ignore leading email quotes ("> "). A line that starts with "> " should not occur in a unified diff, so this won't affect other use cases. Observe that diff-jump even works around interleaved replies; they will not affect the computed line numbers because we ignore lines that don't match ^(> )*[ +-].
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions