From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 077CD1F910 for ; Tue, 22 Nov 2022 17:40:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233773AbiKVRks (ORCPT ); Tue, 22 Nov 2022 12:40:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232660AbiKVRkr (ORCPT ); Tue, 22 Nov 2022 12:40:47 -0500 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44168220F8 for ; Tue, 22 Nov 2022 09:40:46 -0800 (PST) Received: by mail-pf1-f173.google.com with SMTP id y203so15028112pfb.4 for ; Tue, 22 Nov 2022 09:40:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XR9BH3387DG+rzP737wTsyJdtpcn82qP0AWBaBD50zw=; b=GaDB5nk4e0sYG3BZiqH+seJCxxae8MIQ6aI0KzV+qwq6rGiCjN9ugUdO8LOKVfbZzs WoEb8gjhA1iBCpX4TSj6G9uK9vrS3xERFvYL6zA1DLgW2AWtXDBruVXyGm/1NxeIeLl4 Z5UQ+KMRJBeHrzEBU13SPfORmzOD5/XZVu+x0RXnT4hDuGT4D4O27LlIlCtbC7YCemXc zVVJI7UMSKR3aiiibQ+o8SCxJ99S5T9ocVEJI+ZNvN9YWOESBP4GsXN44PsJeRJYmsw0 hb0k4PbJCJaBbKBYnIDvMNTM/Pn2Op8Tb0KM8RY/kNFbJjfwvMAgbH7A24RxEhQJaS+O s49g== X-Gm-Message-State: ANoB5plD+oF9AvLxplz1bQcIgN7REk3AlBhU54ma3sylkJrM6cAkGK4p dIyI0zxboWHDlDaf/ZSbhDyD+MexMz8nhGH5AfM= X-Google-Smtp-Source: AA0mqf7EUpMtWWZtMgEK5Uwo/y1H5fkYurp7r2f6fr5T+xbLwRLAUQCJiCkwrhtU8A060dfSo5iHilo4l87mu0OorUA= X-Received: by 2002:a63:d43:0:b0:477:66b9:341b with SMTP id 3-20020a630d43000000b0047766b9341bmr4449029pgn.130.1669138845718; Tue, 22 Nov 2022 09:40:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Eric Sunshine Date: Tue, 22 Nov 2022 12:40:33 -0500 Message-ID: Subject: Re: [PATCH v6] status: long status advice adapted to recent capabilities To: Rudy Rigot Cc: Rudy Rigot via GitGitGadget , git@vger.kernel.org, Jeff Hostetler , Taylor Blau , =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= , Derrick Stolee Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Tue, Nov 22, 2022 at 12:18 PM Eric Sunshine wrote: > This basically means taking your tests pretty much as > you had them in v6, but with a little extra boilerplate. Something > like this: > > test_expect_success setup ' > git init slowstatus && > ( > cd slowstatus && > cat >.gitignore <<-\EOF && > /actual > /expected > /out > EOF > git add .gitignore && > git commit -m "Add .gitignore" > ) > ' A minor additional comment if you do go this route and place the new tests in an existing script... Although "setup" was fine as a title in a standalone script, when adding the new tests to an existing script, you'd probably want to choose a more meaningful name. Perhaps "setup slow untracked-cache status" or something.