From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miklos Vajna Subject: Re: [PATCH] Simplified GIT usage guide Date: Sat, 13 Dec 2008 04:34:43 +0100 Message-ID: <20081213033443.GP5691@genesis.frugalware.org> References: <20081212190900.GL5691@genesis.frugalware.org> <20081212185347.GK5691@genesis.frugalware.org> <20081212182827.28408.40963.stgit@warthog.procyon.org.uk> <28996.1229108561@redhat.com> <32096.1229130776@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZa61AII3s1sGKYx" Cc: torvalds@osdl.org, git@vger.kernel.org, linux-kernel@vger.kernel.org To: David Howells X-From: git-owner@vger.kernel.org Sat Dec 13 04:36:30 2008 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 1LBLIq-0003Su-RP for gcvg-git-2@gmane.org; Sat, 13 Dec 2008 04:36:29 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753606AbYLMDer (ORCPT ); Fri, 12 Dec 2008 22:34:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753112AbYLMDeq (ORCPT ); Fri, 12 Dec 2008 22:34:46 -0500 Received: from virgo.iok.hu ([212.40.97.103]:58082 "EHLO virgo.iok.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751640AbYLMDeq (ORCPT ); Fri, 12 Dec 2008 22:34:46 -0500 Received: from kag.elte.hu (kag.elte.hu [157.181.177.1]) by virgo.iok.hu (Postfix) with ESMTP id 3C57B580C8; Sat, 13 Dec 2008 04:34:44 +0100 (CET) Received: from genesis.frugalware.org (frugalware.elte.hu [157.181.177.34]) by kag.elte.hu (Postfix) with ESMTP id 0E37E4465E; Sat, 13 Dec 2008 04:34:43 +0100 (CET) Received: by genesis.frugalware.org (Postfix, from userid 1000) id 05EEB11B887E; Sat, 13 Dec 2008 04:34:43 +0100 (CET) Content-Disposition: inline In-Reply-To: <32096.1229130776@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: --YZa61AII3s1sGKYx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Dec 13, 2008 at 01:12:56AM +0000, David Howells wrote: > Okay. I do mention tags. How they're stored in the database is irrelevant. > As far as most users need be concerned, a tag is a symbolic representation of > a particular commit in the tree; a particular state of the source tree. Actually I think it matters, that's why a 'tag' differs to a 'tag object'. Also, a tag can point to any other object, not just to a commit. (Though usually it does.) > Think of symbolic links as an analogy. Most users just need to know that a > symlink represents the location of another part of the VFS tree; actually most > users will just think of them as a pointer to the name of a file, if even that > much. The fact that, say, ReiserFS tail packs them because they tend to be > small, or that AFS symlinks have weird properties that encode mountpoints is > irrelevant to most users. You don't need to know that to use them. Won't it be confusing that a symlink can be stored as a blob, tags are refs, but refs are not blobs? > Yes, GIT's database has blob objects, tree objects, commit objects and tag > objects; but as far as the normal user is concerned, it stores files, lists of > files (directories or, more probably, folders), commits and tags. The > physical low-level stuff is completely irrelevant. Agreed, the object database is not interesting for a beginner. --YZa61AII3s1sGKYx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAklDLVMACgkQe81tAgORUJbiOwCdFU1NRtmQp+rH9XF2Hyc7GYN3 PIoAn0tWKYPBEtWCVTP8eL9oW8ChjlTV =7x97 -----END PGP SIGNATURE----- --YZa61AII3s1sGKYx--