Inconsistent error message with git checkout

From: Chris DeCarolis <hidden>
Date: 2020-08-20 18:27:52

Hello,

I hope all is well. I wanted to send this email to report a possible
inconsistency with the error message displayed by git checkout under
certain conditions.

When I try to switch branches using git checkout, and switching is
disallowed due to uncommitted changes, the error message will tell me
the absolute path of the files causing the issue rather than the
relative path. This seems to be a bit inconsistent, as calling git
status, for example, will display relative paths. Since this only
occurs when barred from actually switching branches, it seems
displaying the relative path would be a better option here.

I'd love to know your thoughts as to whether changing this behavior is
worthwhile or not.

Best,
Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help