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=-3.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, 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 502221F8C6 for ; Wed, 7 Jul 2021 18:54:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230120AbhGGS5W (ORCPT ); Wed, 7 Jul 2021 14:57:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229829AbhGGS5V (ORCPT ); Wed, 7 Jul 2021 14:57:21 -0400 Received: from mail-oo1-xc32.google.com (mail-oo1-xc32.google.com [IPv6:2607:f8b0:4864:20::c32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 166FBC061574 for ; Wed, 7 Jul 2021 11:54:40 -0700 (PDT) Received: by mail-oo1-xc32.google.com with SMTP id j4-20020a4ac5440000b029025992521cf0so748276ooq.7 for ; Wed, 07 Jul 2021 11:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-transfer-encoding; bh=LBQPmHR87VNJAibMQ9njsbi1wncXAyqtu1hEFeKe5UY=; b=FmWijlHxNuNSt10PGtKUeAgugZsSGPSLKhWLGOjh0jkywObbd17U6NbkXCwNgrulGQ CDsIegTXpSxyzILjSfJfUaWzN5sVEtWX21NhQIzniL1HDZIIfNSrKfhxzNqGsaSNvWDq N7geUdQxGsuSWdR7oi+rrFR2Nvd2mLLW/6hFLwfoa7tCJ9AjsBR8ercO/Y44OtgEnL8E kV5JThnGWYIbepmTNUXJNO6mZBsyd3yvzZb0NgNDHDCJgqsILnghiBrBmXvVGt3kKOj7 AZ6pt6TJ3/tvOBuDJuFOvZEacD4b8dEotACWmhle4b/WBRNzbuBTM5chmdQslPe8BRdu HAiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-transfer-encoding; bh=LBQPmHR87VNJAibMQ9njsbi1wncXAyqtu1hEFeKe5UY=; b=NB1STMFmvTI30mF36bup+A1A4tczUGtqbnZOPfS+2+GBx/hzUN1/M2Aw+OHRJd2bpZ x8S/iL33lroqlw6ZkAAJ6F6y36Mk2SE7NyOx9xjzKe5FZUAXz56TrXPO3Zio4cH8GUi6 +cViVmzuBB1MimnyrcWHeA1Ts9AwyatoImYdonVF1mHxMFvDevsn73aKjMQK3DXFCo6G jKWbJ98ZKlnFbSr42a0Hqpi29wRMgGrQcJnP71i1zhfjDrcapbDv2wnFRtB52rP3ZYEj zWa53rdRxhWDZIHQXdjqTxHawtK97ioLz0vQ1sJ2bfKdmIo0EPXku4k/tXxXAlVbcSBK i5qw== X-Gm-Message-State: AOAM530V8I4noOxk++VR6DzxXgSxXLXQwMus5LZbMCQr/+GhN9pmfNuC XUQJyZUJmJHt/DfsVRvsByc= X-Google-Smtp-Source: ABdhPJyCwedWkizdhj5OEznPIkskpiOUaR+7JaxkNhEj/9tX6FaxWZKdlxk/HK49dALAxd4ss7pGgw== X-Received: by 2002:a4a:d6cc:: with SMTP id j12mr6926150oot.0.1625684079454; Wed, 07 Jul 2021 11:54:39 -0700 (PDT) Received: from localhost (fixed-187-189-163-231.totalplay.net. [187.189.163.231]) by smtp.gmail.com with ESMTPSA id i133sm4396625oia.2.2021.07.07.11.54.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 11:54:38 -0700 (PDT) Date: Wed, 07 Jul 2021 13:54:37 -0500 From: Felipe Contreras To: Martin , Junio C Hamano Cc: git@vger.kernel.org Message-ID: <60e5f86d8f907_30143720844@natae.notmuch> In-Reply-To: <167b8fe6-0586-b980-dfb9-9fa3a29d48bb@mfriebe.de> References: <7870a0ad-8fa1-9dbd-1978-1f44ec6970c5@mfriebe.de> <167b8fe6-0586-b980-dfb9-9fa3a29d48bb@mfriebe.de> Subject: Re: PATCH: improve git switch documentation Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Martin wrote: > Sergey made an excellent point: > > On 01/07/2021 13:27, Sergey Organov wrote: > >> For example: > >> > >> "branch": a chain of commits > >> > >> "branch tip": the most recent commit in a branch > >> > >> "branch name": specific type of symbolic reference pointing to a bra= nch tip > = > A lot of people think of the "chain of commits" when the word "branch" = > is used. > = > If we take the sentence from the current doc: > =C2=A0=C2=A0 --force-create > =C2=A0 =C2=A0 Similar to |--create| except that if || alre= ady exists, = > it will be reset to || > and replace "branch" with "chain of commits" > =C2=A0 =C2=A0 Similar to |--create| except that if || = > already exists, it will be reset to || > = > What would you expect to happen? > I would think the "chain of commits" is created at the new > = > What we want to say is > =C2=A0=C2=A0=C2=A0 The "branch name" will point to a new "branch tip" = at Wouldn't this achieve everything we want? The branch head will now point the new -- = Felipe Contreras=