google / gitiles

A simple browser for Git repositories.
https://gerrit.googlesource.com/gitiles/
Other
582 stars 174 forks source link

ability to increase lines of context #201

Open grandinj opened 4 years ago

grandinj commented 4 years ago

We're using gitiles at LibreOffice now.

One thing I miss from the cgit browser is being able to increase the number of lines of context visible in a a diff.

KANGOD commented 3 years ago

Yes, in some small commits, it's really confusing.

In git, it's git diff -U<n>

-U\, --unified=\ Generate diffs with lines of context instead of the usual three. Implies --patch. Implies -p.

Hope we can achieve this on gitiles web.