Skip to content

Commit 8dc28ee

Browse files
committed
Merge branch 'wb/fsmonitor-bitmap-fix'
Comment update. * wb/fsmonitor-bitmap-fix: t7519-status-fsmonitor: improve comments
2 parents 0d6799e + 460782b commit 8dc28ee

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

t/t7519-status-fsmonitor.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,11 @@ test_expect_success 'discard_index() also discards fsmonitor info' '
354354
test_cmp expect actual
355355
'
356356

357-
# Test staging/unstaging files that appear at the end of the index. Test
358-
# file names begin with 'z' so that they are sorted to the end of the index.
359-
test_expect_success 'status succeeds after staging/unstaging ' '
357+
# Test unstaging entries that:
358+
# - Are not flagged with CE_FSMONITOR_VALID
359+
# - Have a position in the index >= the number of entries present in the index
360+
# after unstaging.
361+
test_expect_success 'status succeeds after staging/unstaging' '
360362
test_create_repo fsmonitor-stage-unstage &&
361363
(
362364
cd fsmonitor-stage-unstage &&

0 commit comments

Comments
 (0)