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: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 986E61F731 for ; Fri, 9 Aug 2019 19:06:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406558AbfHITGn (ORCPT ); Fri, 9 Aug 2019 15:06:43 -0400 Received: from elephants.elehost.com ([216.66.27.132]:44464 "EHLO elephants.elehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbfHITGn (ORCPT ); Fri, 9 Aug 2019 15:06:43 -0400 X-Virus-Scanned: amavisd-new at elehost.com Received: from gnash (CPE00fc8d49d843-CM00fc8d49d840.cpe.net.cable.rogers.com [99.229.179.249]) (authenticated bits=0) by elephants.elehost.com (8.15.2/8.15.2) with ESMTPSA id x79J6ZMA082849 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 9 Aug 2019 15:06:35 -0400 (EDT) (envelope-from rsbecker@nexbridge.com) From: "Randall S. Becker" To: "'Junio C Hamano'" Cc: "'Christian Couder'" , References: <20190809001315.GA87896@syl.lan> <3C7105E5-5DE1-42DC-A9A4-65C061FD6139@dereferenced.org> <001e01d54ebb$9a1ab4b0$ce501e10$@nexbridge.com> In-Reply-To: Subject: RE: What's cooking in git.git (Jul 2019, #06; Thu, 25) Date: Fri, 9 Aug 2019 15:06:29 -0400 Message-ID: <003a01d54ee5$902a3460$b07e9d20$@nexbridge.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQI4e27fuor1V6G+VVNTu5eJdxwFnwIJ14M8AThYM+cBjxQPvwFPDaSnpfvRjoA= Content-Language: en-ca Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On August 9, 2019 1:45 PM, Junio C Hamano wrote: > "Randall S. Becker" writes: > > > On 01 Aug 2019 13:05:12, Junio wrote: > >> >> *snip* > > > > I think this got missed in the shuffle, but I am getting questions > > about the topic from my own team that I cannot answer. > > > > I noticed that the switch and restore commands are now available in > > 2.23.0 but are not discussed in recent What's Cooking or Git Rev (or I > > blithely missed them). The question from my team is what are the plans > > for deprecating checkout. They have loads of scripts and want to plan > > for moving over. > > The two new commands were done in response to a common "checkout > does two different things, either checkout a branch in order to start working > on it, or checkout paths into the current workspace to work on them" > complaint. Those who are used to and are OK with the "git" command that > changes behaviour based on the rest of args (i.e. > "checkout " and "checkout [] " are the > ways to obtain these two behaviours) can safely keep using the command > they are familiar with. > > I do not think there currently is any plan to deprecate checkout. Thanks.