]> git.ipfire.org Git - thirdparty/git.git/commit
checkout: document bug where delayed checkout counts entries twice
authorMatheus Tavares <matheus.bernardino@usp.br>
Thu, 14 Jul 2022 11:49:10 +0000 (08:49 -0300)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Jul 2022 17:19:27 +0000 (10:19 -0700)
commited602c3f448c2681b16245d4a489342a2db89855
treeeae0db7b247b2c4f2647e16a0676b775854fb492
parente4a4b31577c7419497ac30cebe30d755b97752c5
checkout: document bug where delayed checkout counts entries twice

At the end of a `git checkout <pathspec>` operation, git reports how
many paths were checked out with a message like "Updated N paths from
the index". However, entries that end up on the delayed checkout queue
(as requested by a long-running process filter) get counted twice,
producing a wrong number in the final report. We will fix this bug in an
upcoming commit. For now, only document/demonstrate it with a
test_expect_failure.

Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0021-conversion.sh