[mini.extra:git_hunks] Better show lines #2190
Closed
drowning-cat
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This is not the case. Hunks are displayed using hunk header as a text. Git itself is responsible to compute a proper text and it is often not a part of context. It has somewhat smart per-language rules and can also be configured via Git. I think using this directly is the most practical and reasonable choice. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Contributing guidelines
Module(s)
mini.extra
Additional info
Description
Currently, hunks are displayed using the first context line as the item text, even when that line is empty. This can be visually confusing:
In my opinion, it would be better to display the first changed line (that starts with
+or-) instead.Beta Was this translation helpful? Give feedback.
All reactions