Merge branch 'jc/checkout-no-op-switch-errors'

"git checkout --ours" (no other arguments) complained that the option is incompatible with branch switching, which is technically correct, but found confusing by some users. It now says that the user needs to give pathspec to specify what paths to checkout. * jc/checkout-no-op-switch-errors: checkout: special case error messages during noop switching

Junio C Hamano committed Jul 31, 2024 at 13:34 UTC 90139ae37799b2ef48eb29fc8f9f984afd3c73db

No changes.