Skip to content

Modify size of context shown #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cweiske opened this issue Aug 8, 2013 · 2 comments
Closed

Modify size of context shown #7

cweiske opened this issue Aug 8, 2013 · 2 comments

Comments

@cweiske
Copy link

cweiske commented Aug 8, 2013

Sometimes it is helpful to show more than one or two lines of context around a diff.

There should be an option to set the context size in number of lines.

@relaxnow
Copy link

+1

@sun
Copy link

sun commented Jul 28, 2014

I agree. Normally, the default diff context is 3 lines.

Briefly looked into this already, but apparently, the number of diff context lines is not a static value, but determined automagically based on the "longest lines in common", involving some highly complex math.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants