Re: [PATCH v2 2/6] test-reach: add run_three_modes method

2018-09-20 Thread Junio C Hamano
Junio C Hamano writes: > I also noticed that 2/6 made "commti_contains --tag" enclosed in dq > pair for one test, but the next test after it has the identical one. > > Here is what I queued in the meantime. > ... And of course, I find out that 3/6 needs a matching update after I've almost

Re: [PATCH v2 2/6] test-reach: add run_three_modes method

2018-09-19 Thread Junio C Hamano
Junio C Hamano writes: > SZEDER Gábor writes: > >>> While inspecting this code, I realized that the final test for >>> 'commit_contains --tag' is silently dropping the '--tag' argument. >>> It should be quoted to include both. >> >> Nit: while quoting the function's arguments does fix the

Re: [PATCH v2 2/6] test-reach: add run_three_modes method

2018-09-19 Thread Junio C Hamano
SZEDER Gábor writes: >> While inspecting this code, I realized that the final test for >> 'commit_contains --tag' is silently dropping the '--tag' argument. >> It should be quoted to include both. > > Nit: while quoting the function's arguments does fix the issue, it > leaves the tests prone to

Re: [PATCH v2 2/6] test-reach: add run_three_modes method

2018-09-18 Thread SZEDER Gábor
On Mon, Sep 17, 2018 at 09:08:44PM -0700, Derrick Stolee via GitGitGadget wrote: > From: Derrick Stolee > > The 'test_three_modes' method assumes we are using the 'test-tool > reach' command for our test. However, we may want to use the data > shape of our commit graph and the three modes (no

[PATCH v2 2/6] test-reach: add run_three_modes method

2018-09-17 Thread Derrick Stolee via GitGitGadget
From: Derrick Stolee The 'test_three_modes' method assumes we are using the 'test-tool reach' command for our test. However, we may want to use the data shape of our commit graph and the three modes (no commit-graph, full commit-graph, partial commit-graph) for other git commands. Split