git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [GSoC][PATCH] microporject test_path_is_*

From
MMooga <contact@m-mooga.com>
Date
Mar 27, 2019, 20:29 UTC
Message-ID
<BF34A383-7714-40CC-B5EF-4FD20E7AC839@m-mooga.com>
In-Reply-To
<CABPp-BE9vNhnN6XdcxnePnXkek0bNogAiA_cKJqZ1-ct=QA2pw@mail.gmail.com>

Hi Eliah, thanks for the advice, but still after I read the SubmittingPatches , and see around the Submitting patches process still confussing for me , there's a better way for explanation as an example

Regards
On 27.03.19, 18:06, "Elijah Newren" <git-owner@vger.kernel.org on behalf of newren@gmail.com> wrote:
    Hi Mooga,
    
    On Wed, Mar 27, 2019 at 5:27 AM Mooga <contact@m-mooga.com> wrote:
    >
    >
    > So for example  that is git diff
    >
    > diff --git a/t/t2400-worktree-add.sh b/t/t2400-worktree-add.sh
    > index 286bba35d8..fc82965a0f 100755
    > --- a/t/t2400-worktree-add.sh
    > +++ b/t/t2400-worktree-add.sh
    > @@ -66,7 +66,7 @@ test_expect_success '"add" worktree' '
    > test_expect_success '"add" worktree with lock' '
    >         git rev-parse HEAD >expect &&
    >         git worktree add --detach --lock here-with-lock master &&
    > -       test -f .git/worktrees/here-with-lock/locked
    > +       test_path_is_file .git/worktrees/here-with-lock/locked
    >
    > I would like to hear feedback if I should commit
    
    As you noticed from the other thread, there are folks who are now
    unsure whether this microproject suggestion is a good idea anymore.
    Personally, I like the test_path_is_* slightly better, but the real
    issue is that we didn't have that discussion before starting the GSoC
    process and putting it up as a suggestion on the microprojects page.
    I think the main purpose is getting people familiar with creating and
    submitting patches, so I'd go ahead and make this change as well as
    others needed in that file and submit it.  Maybe the patch doesn't get
    applied but if you've created a correct commit and submitted it as a
    patch to the mailing list, I'd still count it as a successful
    microproject.
    
Previous: Elijah NewrenNext: Elijah Newren
Message 3 of 6 in “microporject test_path_is_*”
  1. MoogaMar 27, 2019
  2. Elijah NewrenMar 27, 2019
  3. MoogaMar 27, 2019
  4. Elijah NewrenMar 28, 2019
  5. MoogaMar 28, 2019
  6. Elijah NewrenMar 28, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.