You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For high readability, each line should preferably be possible to interpret on it's own, with no context. This is not the case for content lines, as the status markers +, - and are used in both hintful and unified diff format. This means, that looking at the line +hello$, a user is unable to tell whether this adds hello\n (hintful) or hello$\n (unified), without going back to the hunk header or getting help from a highlighter.
The text was updated successfully, but these errors were encountered:
Strictly speaking, this problem is already present in unified diff format, since the --- and +++ lines can be confused with - and + content lines given no context. Some highlighters would work faster if lines could be interpreted on their own, but at least we aren't introducing this problem.
For high readability, each line should preferably be possible to interpret on it's own, with no context. This is not the case for content lines, as the status markers
are used in both hintful and unified diff format. This means, that looking at the line
+
,-
and+hello$
, a user is unable to tell whether this addshello\n
(hintful) orhello$\n
(unified), without going back to the hunk header or getting help from a highlighter.The text was updated successfully, but these errors were encountered: