Re: [PATCH v4 2/7] t3705: add tests for `git add` in sparse checkouts
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Apr 14, 2021, 16:39 UTC
- Message-ID
- <69e2d520-3caf-a64d-8bb4-c2c9723be9de@gmail.com>
- In-Reply-To
- <5d0cdb3718ec0230fe199441b6a4089ce828a3e9.1617914011.git.matheus.bernardino@usp.br>
On 4/8/2021 4:41 PM, Matheus Tavares wrote:
Show 7 quoted lines
> 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`.
These are good tests. I will adapt these for my sparse-index series to ensure 'git add' works correctly in that environment.
Thanks, -Stolee