From: Junio C Hamano Date: Fri, 16 Aug 2024 19:50:51 +0000 (-0700) Subject: Merge branch 'jc/checkout-no-op-switch-errors' into maint-2.46 X-Git-Tag: v2.46.1~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb250b53788bd08eeff0e33376d948a1d71374a9;p=thirdparty%2Fgit.git Merge branch 'jc/checkout-no-op-switch-errors' into maint-2.46 "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 --- bb250b53788bd08eeff0e33376d948a1d71374a9