]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7519-status-fsmonitor.sh
Merge branch 'js/update-index-ignore-removal-for-skip-worktree'
[thirdparty/git.git] / t / t7519-status-fsmonitor.sh
index d8df99097237b970cb6643fd77bb32ef80d4ffc6..997d5fb349dfd7e5ee068d2c34b3e091f678f891 100755 (executable)
@@ -354,9 +354,11 @@ test_expect_success 'discard_index() also discards fsmonitor info' '
        test_cmp expect actual
 '
 
-# Test staging/unstaging files that appear at the end of the index.  Test
-# file names begin with 'z' so that they are sorted to the end of the index.
-test_expect_success 'status succeeds after staging/unstaging ' '
+# Test unstaging entries that:
+#  - Are not flagged with CE_FSMONITOR_VALID
+#  - Have a position in the index >= the number of entries present in the index
+#    after unstaging.
+test_expect_success 'status succeeds after staging/unstaging' '
        test_create_repo fsmonitor-stage-unstage &&
        (
                cd fsmonitor-stage-unstage &&