зеркало из https://github.com/microsoft/git.git
git-checkout: do not allow -f and -m at the same time.
Instead of silently ignoring one over the other, complain on this incompatible combination. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
0a3881d4cf
Коммит
897643cc79
|
@ -77,6 +77,11 @@ while [ "$#" != "0" ]; do
|
|||
esac
|
||||
done
|
||||
|
||||
case "$force$merge" in
|
||||
11)
|
||||
die "git checkout: -f and -m are incompatible"
|
||||
esac
|
||||
|
||||
# The behaviour of the command with and without explicit path
|
||||
# parameters is quite different.
|
||||
#
|
||||
|
|
Загрузка…
Ссылка в новой задаче