Skip to content

Commit 1ec40a8

Browse files
rybakgitster
authored andcommitted
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] fa137f6 (lockfile.c: store absolute path, 2014-11-02) [2] dc59418 (cocci & cache.h: apply variable section of "pending" index-compatibility, 2022-11-19) Signed-off-by: Andrei Rybak <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 993d708 commit 1ec40a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t2107-update-index-basic.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ test_expect_success '.lock files cleaned up' '
8383
cd repo &&
8484
git config core.worktree ../../worktree &&
8585
# --refresh triggers late setup_work_tree,
86-
# active_cache_changed is zero, rollback_lock_file fails
86+
# the_index.cache_changed is zero, rollback_lock_file fails
8787
git update-index --refresh --verbose >out &&
8888
test_must_be_empty out &&
8989
! test -f .git/index.lock

0 commit comments

Comments
 (0)