git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Neal Kreitzinger <nkreitzinger@gmail.com>
Cc: git@vger.kernel.org, jrnieder@gmail.com, bfields@fieldses.org,
	phil.hord@gmail.com
Subject: Re: [PATCH/RFC] Add "first parent" to gitglossary
Date: Sun, 18 Mar 2012 11:56:41 -0700	[thread overview]
Message-ID: <7vehspd9g6.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <1331966864-31687-1-git-send-email-nkreitzinger@gmail.com> (Neal Kreitzinger's message of "Sat, 17 Mar 2012 01:47:44 -0500")

Neal Kreitzinger <nkreitzinger@gmail.com> writes:

> Add "first parent" to "gitglossary" reference manual page.  Use the
> definition provided by Junio Hamano in a git newsgroup post[1].
>
> [1] http://article.gmane.org/gmane.comp.version-control.git/192523

As the message was written specifically for you, taking what *you* seem to
already know, and more importantly what *you* seem to be misunderstanding,
into account, I do not think it is suitable for general documentation
without rewording.

Also, as Jonathan already pointed out, singling out "first parent" and
placing it in the glossary is a very odd thing to do.

Also see

  http://thread.gmane.org/gmane.comp.version-control.git/192427/focus=192534


Three entries "parent", "child" and "ancestry" might want to have an
explanation in the glossary to give new people the prerequisite, though.

child::
parent::
ancestry::
	Git represents a specific state of the project in its history with
	a commit object, which points at zero or more other commit objects
	as its "parents". When commit A points at commit B as its parent,
	we say "A is a child of B" and "B is a parent of A".
+
Parents of a commit is an ordered set, and because a commit object is
immutable, the parents of a commit do not change once it is created.
On the other hand, a new commit can be created, pointing at any other
commit as its parent, so children of a commit is not a mutable set,
and there is no inherent order among children.

      reply	other threads:[~2012-03-18 18:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-17  6:47 [PATCH/RFC] Add "first parent" to gitglossary Neal Kreitzinger
2012-03-18 18:56 ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vehspd9g6.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=bfields@fieldses.org \
    --cc=git@vger.kernel.org \
    --cc=jrnieder@gmail.com \
    --cc=nkreitzinger@gmail.com \
    --cc=phil.hord@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).