summaryrefslogtreecommitdiff
path: root/t/t3705-add-sparse-checkout.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-04-08add: make --chmod and --renormalize honor sparse checkoutsLibravatar Matheus Tavares1-2/+2
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-04-08t3705: add tests for `git add` in sparse checkoutsLibravatar Matheus Tavares1-0/+96
We already have a couple tests for `add` with SKIP_WORKTREE entries in t7012, but these only cover the most basic scenarios. As we will be changing how `add` deals with sparse paths in the subsequent commits, let's move these two tests to their own file and add more test cases for different `add` options and situations. This also demonstrates two options that don't currently respect SKIP_WORKTREE entries: `--chmod` and `--renormalize`. Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>