From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Narebski Subject: Re: [PATCH 3/3] Teach "git branch" about --new-workdir Date: Mon, 23 Jul 2007 00:46:29 +0200 Organization: At home Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: QUOTED-PRINTABLE To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Mon Jul 23 00:40:12 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICk5z-0005t2-6H for gcvg-git@gmane.org; Mon, 23 Jul 2007 00:40:11 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759837AbXGVWjx convert rfc822-to-quoted-printable (ORCPT ); Sun, 22 Jul 2007 18:39:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759298AbXGVWjx (ORCPT ); Sun, 22 Jul 2007 18:39:53 -0400 Received: from main.gmane.org ([80.91.229.2]:50014 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758257AbXGVWjx (ORCPT ); Sun, 22 Jul 2007 18:39:53 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ICk5c-0000qV-AV for git@vger.kernel.org; Mon, 23 Jul 2007 00:39:48 +0200 Received: from host-89-229-8-65.torun.mm.pl ([89.229.8.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jul 2007 00:39:48 +0200 Received: from jnareb by host-89-229-8-65.torun.mm.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jul 2007 00:39:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host-89-229-8-65.torun.mm.pl Mail-Copies-To: Jakub Narebski User-Agent: KNode/0.10.2 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Julian Phillips wrote: > I just think that to a user it feels like a checkout operation ... an= d=20 > that would less confusing as an option to checkout. =A0Trying to expl= ain=20 > that branch just creates a new branch, unless you give this option th= en it=20 > creates a working copy over there seems more compilcated than saying = the=20 > checkout updates/creates this working copy, unless you use this optio= n to=20 > create one over there. IMVHO git-checkout is characterized that it changes _current_ working directory. But having this in git-checkout would mean that you can crea= te new workdir for _existing_ branch. git-branch is rather (except from listing) for creating new branches. It is a fact that functionalities of git-checkout (-b) and git-branch (--new-work-dir) intersect a bit. --=20 Jakub Narebski Warsaw, Poland ShadeHawk on #git