]> git.ipfire.org Git - thirdparty/git.git/commit
t2107: fix mention of the_index.cache_changed
authorAndrei Rybak <rybak.a.v@gmail.com>
Fri, 31 Mar 2023 14:36:04 +0000 (16:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Mar 2023 23:57:04 +0000 (16:57 -0700)
commit1ec40a83a54c9957636b1bf708ab3d8e261b751b
tree9c161e844d69f3e85cdc59cbdcbd78954f4d161b
parent993d7085be2bf79b4d1fe2b0c017b380e796c21c
t2107: fix mention of the_index.cache_changed

Commit [1] added a test to t2107-update-index-basic.sh with a comment
that mentions macro "active_cache_changed".  Later in [2], the macro was
removed and its usage in function cmd_update_index in file
builtin/update-index.c was replaced with "the_index.cache_changed".

Fix the outdated comment in file t2107-update-index-basic.sh.

[1] fa137f67a4 (lockfile.c: store absolute path, 2014-11-02)
[2] dc594180d9 (cocci & cache.h: apply variable section of "pending"
    index-compatibility, 2022-11-19)

Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2107-update-index-basic.sh