]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/checkout-no-op-switch-errors'
authorJunio C Hamano <gitster@pobox.com>
Wed, 31 Jul 2024 20:34:18 +0000 (13:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 31 Jul 2024 20:34:18 +0000 (13:34 -0700)
"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

1  2 
builtin/checkout.c
t/t7201-co.sh

Simple merge
diff --cc t/t7201-co.sh
Simple merge