From: Junio C Hamano Date: Fri, 25 Feb 2022 17:26:32 GMT Subject: Re: [PATCH v2] switch: mention the --detach option when dying due to lack of a branch Message-ID: In-Reply-To: <220225.86h78n88gb.gmgdl@evledraar.gmail.com> Ævar Arnfjörð Bjarmason writes: >>> + test_i18ngrep ! "try again with the --detach option" stderr >>> +' >> >> OK, we try to be consistent with other tests in the file, and leave >> s/test_i18n// to a file-wide clean-up outside the topic. > > FWIW that's not the case here. This is the first use of test_i18ngrep in > this file. Oh, thanks for pointing it out---I remembered that somebody gave a similar suggestion and blindly assumed that there are other instances already. If so, picking, between grep and test_cmp, whichever requires the least amount of boilerplate code is fine by me. Thanks.