diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-07-08 11:23:08 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-07-08 11:23:08 -0700 |
| commit | b00ec259e735fcb0dc4f697b7cc98b2730879d63 (patch) | |
| tree | ec3c5a63dfd4b64320583e16a4c4c5dad029ddba /t | |
| parent | Merge branch 'js/empty-index-fixes' (diff) | |
| parent | fsck: avoid misleading variable name (diff) | |
| download | git-b00ec259e735fcb0dc4f697b7cc98b2730879d63.tar.gz git-b00ec259e735fcb0dc4f697b7cc98b2730879d63.zip | |
Merge branch 'jk/fsck-indices-in-worktrees'
Code clarification.
* jk/fsck-indices-in-worktrees:
fsck: avoid misleading variable name
Diffstat (limited to 't')
| -rwxr-xr-x | t/t1450-fsck.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh index 8c442adb1a..5805d47eb9 100755 --- a/t/t1450-fsck.sh +++ b/t/t1450-fsck.sh @@ -1036,9 +1036,9 @@ test_expect_success 'fsck detects problems in worktree index' ' test_cmp expect actual ' -test_expect_success 'fsck reports problems in main index without filename' ' +test_expect_success 'fsck reports problems in current worktree index without filename' ' test_when_finished "rm -f .git/index && git read-tree HEAD" && - echo "this object will be removed to break the main index" >file && + echo "this object will be removed to break current worktree index" >file && git add file && blob=$(git rev-parse :file) && remove_object $blob && |
