git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Inconsistent error message with git checkout
@ 2020-08-20 18:27 Chris DeCarolis
  0 siblings, 0 replies; only message in thread
From: Chris DeCarolis @ 2020-08-20 18:27 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-20 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 18:27 Inconsistent error message with git checkout Chris DeCarolis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).