From mboxrd@z Thu Jan 1 00:00:00 1970 From: Junio C Hamano Subject: Re: (beginner) git rm Date: Wed, 28 Jan 2009 14:33:19 -0800 Message-ID: <7v7i4fkqmo.fsf@gitster.siamese.dyndns.org> References: <1233137498146-2231416.post@n2.nabble.com> <1233140751523-2231622.post@n2.nabble.com> <49804385.908@dbservice.com> <1233144045221-2231849.post@n2.nabble.com> <49804D41.3010801@dbservice.com> <1233166992184-2233892.post@n2.nabble.com> <20090128201727.GD7503@atjola.homenet> <1233175322729-2234796.post@n2.nabble.com> <7vab9bm85b.fsf@gitster.siamese.dyndns.org> <20090128221355.GE7503@atjola.homenet> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Zabre <427@free.fr>, git@vger.kernel.org To: =?utf-8?Q?Bj=C3=B6rn?= Steinbrink X-From: git-owner@vger.kernel.org Wed Jan 28 23:34:54 2009 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1LSIzk-0001gB-Hv for gcvg-git-2@gmane.org; Wed, 28 Jan 2009 23:34:53 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751761AbZA1Wd1 convert rfc822-to-quoted-printable (ORCPT ); Wed, 28 Jan 2009 17:33:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751625AbZA1Wd1 (ORCPT ); Wed, 28 Jan 2009 17:33:27 -0500 Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:53367 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751051AbZA1Wd1 convert rfc822-to-8bit (ORCPT ); Wed, 28 Jan 2009 17:33:27 -0500 Received: from localhost.localdomain (unknown [127.0.0.1]) by b-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTP id DB2E71D81A; Wed, 28 Jan 2009 17:33:25 -0500 (EST) Received: from pobox.com (unknown [68.225.240.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by b-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTPSA id D992B1D816; Wed, 28 Jan 2009 17:33:21 -0500 (EST) In-Reply-To: <20090128221355.GE7503@atjola.homenet> (=?utf-8?Q?Bj=C3=B6rn?= Steinbrink's message of "Wed, 28 Jan 2009 23:13:55 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Pobox-Relay-ID: AD8B1AD6-ED8B-11DD-90D4-0372113D384A-77302942!a-sasl-quonix.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Bj=C3=B6rn Steinbrink writes: > With "checkout", I'm still a bit unsure about which term to use, beca= use > of the behaviour you get with, for example, "git checkout HEAD -- > directory". > ... > It would probably be better to say that checkout only works with the > blobs (because the index doesn't have entries for trees, right?). True, it is not just "checkout". There is no such thing as "directory"= in git UI, in that sense. When you say: git checkout [] -- pathspec you may be using the same string as the name of an existing directory, = but that does not change the fact that you are giving a pathspec pattern to specify the set of paths in the index (or in the ) that match= es the pathspec.