File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ test_expect_success '.lock files cleaned up' '
83
83
cd repo &&
84
84
git config core.worktree ../../worktree &&
85
85
# --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
87
87
git update-index --refresh --verbose >out &&
88
88
test_must_be_empty out &&
89
89
! test -f .git/index.lock
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ test_expect_success 'setup' '
40
40
git commit -a -m "remove them all" &&
41
41
42
42
# The bug also requires some entry before our directory so that
43
- # prune_path will modify the_index .cache
43
+ # prune_index will modify the_repository->index .cache
44
44
45
45
mkdir a_directory_that_sorts_before_sub &&
46
46
>a_directory_that_sorts_before_sub/file &&
@@ -56,7 +56,7 @@ test_expect_success 'usage' '
56
56
'
57
57
58
58
test_expect_success ' git ls-files --with-tree should succeed from subdir' '
59
- # We have to run from a sub-directory to trigger prune_path
59
+ # We have to run from a sub-directory to trigger prune_index
60
60
# Then we finally get to run our --with-tree test
61
61
(
62
62
cd sub &&
You can’t perform that action at this time.
0 commit comments