Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753567AbYLSJ0d (ORCPT ); Fri, 19 Dec 2008 04:26:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751013AbYLSJ0W (ORCPT ); Fri, 19 Dec 2008 04:26:22 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:32959 "EHLO out1.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853AbYLSJ0U (ORCPT ); Fri, 19 Dec 2008 04:26:20 -0500 X-Sasl-enc: n+fN1dgr/jZ6yXDJdJCxn65bs5MaEwlj+QQb/22o7WDS 1229678778 Message-ID: <494B68B8.20107@drmicha.warpmail.net> Date: Fri, 19 Dec 2008 10:26:16 +0100 From: Michael J Gruber User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: "C. Scott Ananian" CC: David Howells , git@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Simplified GIT usage guide References: <20081212182827.28408.40963.stgit@warthog.procyon.org.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1889 Lines: 37 C. Scott Ananian venit, vidit, dixit 19.12.2008 01:47: > On Fri, Dec 12, 2008 at 1:28 PM, David Howells wrote: >> Add a guide to using GIT's simpler features. >> diff --git a/Documentation/git-haters-guide.txt b/Documentation/git-haters-guide.txt >> +In the above example, I've assumed that you've got your own tree with the head >> +at commit C3, and that you've got a branch that you want to merge, which has >> +its head at commit B3. After merging them, you'd end up with a directed, >> +cyclic tree: > > That should be, "acyclic". There are no cycles, because the graph is directed. Well, directed graphs can have cycles. But the revision graph of a revision control system has to be an acyclic directed graph. Otherwise parenthood would be a complicated matter ;) And no, trees by definition don't have cycles. Also, a "tree" in git lingo is not the graph theoretic notion (which David uses, though incorrectly); this only adds unnecessary points of confusion. For whatever reason the graphs in version control systems are called "dag"s, i.e. directed acyclic graphs, even though "acyclicity" depends on whether you look at the directed or undirected graphs. (Branching then merging gives an undirected cycle.) I guess one may read "directed" as an attribute to "acyclic" here, i.e. ((directed acyclic) graph) rather than (directed (acyclic graph)); so to say "directedly acyclic graph". Or it's just that "dag" reads much better than "adg"... So, please: Simplification yes, but not if it's unnecessarily misleading or even plain wrong (referring to the original proposal, not the comment). Cheers, Michael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/