Re: [PATCH 1/8] move worktree tests to t24*
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Dec 10, 2018, 15:32 UTC
- Message-ID
- <CACsJy8AgbU9YyMHXdp=bkMncBO_Mu0FOQ4kSRkgacHzTJ0DrdA@mail.gmail.com>
- In-Reply-To
- <20181209200449.16342-2-t.gummerer@gmail.com>
On Sun, Dec 9, 2018 at 9:04 PM Thomas Gummerer <t.gummerer@gmail.com> wrote:
Show 21 quoted lines
>
> The 'git worktree' command used to be just another mode in 'git
> checkout', namely 'git checkout --to'. When the tests for the latter
> were retrofitted for the former, the test name was adjusted, but the
> test number was kept, even though the test is testing a different
> command now. t/README states: "Second digit tells the particular
> command we are testing.", so 'git worktree' should have a separate
> number just for itself.
>
> Move the worktree tests to t24* to adhere to that guideline. We're
> going to make use of the free'd up numbers in a subsequent commit.
>
> Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
> ---
> t/{t2025-worktree-add.sh => t2400-worktree-add.sh} | 0
> t/{t2026-worktree-prune.sh => t2401-worktree-prune.sh} | 0
> t/{t2027-worktree-list.sh => t2402-worktree-list.sh} | 0
> 3 files changed, 0 insertions(+), 0 deletions(-)
> rename t/{t2025-worktree-add.sh => t2400-worktree-add.sh} (100%)
> rename t/{t2026-worktree-prune.sh => t2401-worktree-prune.sh} (100%)
> rename t/{t2027-worktree-list.sh => t2402-worktree-list.sh} (100%)Heh.. I did the same thing (in my unsent switch-branch/restore-files series) and even used the same 24xx range :D You probably want to move t2028 and t2029 too (not sure if they have landed on 'master')
-- Duy