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: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-6.0 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 385FE1F953 for ; Thu, 2 Dec 2021 08:38:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236561AbhLBIlZ (ORCPT ); Thu, 2 Dec 2021 03:41:25 -0500 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:55475 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230054AbhLBIlY (ORCPT ); Thu, 2 Dec 2021 03:41:24 -0500 Received: from [192.168.9.206] (198-27-191-186.fiber.dynamic.sonic.net [198.27.191.186]) (authenticated bits=0) (User authenticated as andersk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 1B28bbUj004314 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 2 Dec 2021 03:37:39 -0500 Message-ID: <736c137a-1d41-e5bb-1424-959992e54e8c@mit.edu> Date: Thu, 2 Dec 2021 00:37:37 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH v7 5/8] fetch: protect branches checked out in all worktrees Content-Language: en-US To: Eric Sunshine Cc: Junio C Hamano , Git List , Johannes Schindelin , Jeff King , Andreas Heiduk , =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= , Jiang Xin References: <20211201221547.1796213-1-andersk@mit.edu> <20211201221547.1796213-6-andersk@mit.edu> From: Anders Kaseorg In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On 12/1/21 18:51, Eric Sunshine wrote: > Minor observation: The "checked out in another worktree" message would > be much more helpful if it mentioned the worktree itself... Previous discussion of that: https://lore.kernel.org/git/YYTtdZblnHYgDgBq@coredump.intra.peff.net/ and replies. In short, this message seems to be unreachable because the other message will always be triggered first, so I didn’t spend much effort improving it. As you say, we can leave the task of sorting out the apparently duplicate check to another series. Anders