checkout: update count-checkouts messages
commit3c5883b3c96e0435cca2e952754d76c4e45f72e4
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 6 Feb 2019 02:51:14 +0000 (6 09:51 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Feb 2019 20:46:07 +0000 (6 12:46 -0800)
tree519f1157b5f3d9c933cd611d5f6a97a3f7145334
parent774d44cc18fe23e384b14535df00f4ef2995f8dd
checkout: update count-checkouts messages

Commit 0f086e6dca [1] counts the number of files updated by "git
checkout -- <paths>" command and prints it. Later on 536ec1839d [2]
adds the ability to remove files in "git checkout -- <paths>". This is
still an update on worktree and should be reported to the user.

To prepare for such an update since that commit is on track to
'master' now, the messages are rephrased to avoid "checked out" which
does not imply file deletion.

[1] 0f086e6dca (checkout: print something when checking out paths -
    2018-11-13)
[2] 536ec1839d (entry: support CE_WT_REMOVE flag in checkout_entry -
    2018-12-20)

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c