git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Daniel Barkalow <barkalow@iabervon.org>
Cc: git@vger.kernel.org
Subject: Re: First stab at glossary
Date: Wed, 17 Aug 2005 22:05:27 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.63.0508172156090.17234@wgmdd8.biozentrum.uni-wuerzburg.de> (raw)
In-Reply-To: <Pine.LNX.4.63.0508171341380.23242@iabervon.org>

Hi,

On Wed, 17 Aug 2005, Daniel Barkalow wrote:

> On Wed, 17 Aug 2005, Johannes Schindelin wrote:
> 
> > SHA1::
> > 	A 20-byte sequence (or 41-byte file containing the hex
> > 	representation and a newline). It is calculated from the
> > 	contents of an object by the Secure Hash Algorithm 1.
> 
> It's also often 40-character string (with whatever termination) in places
> like commit objects, tag objects, command-line arguments, listings, and so
> forth.

Okay.

> > object name::
> > 	Synonym for SHA1.
> 
> Have we killed the use of the third term "hash" for this? I'd say that
> "object name" is the standard term, and "SHA1" is a nickname, if only
> because "object name" is more descriptive of the particular use of the
> term.

Okay for "hash". What is the consensus on "object name" being more 
standard than "SHA1"?

> > blob object::
> > 	Untyped object, i.e. the contents of a file.
> 
> This "i.e." should be "e.g.", since symlink targets are also stored as
> blobs, and any other bulk data stored by itself would be. (IIRC, Junio has
> a tagged blob to hold his public key, for example)

Agree.

> I think we might want to entirely kill the "cache" term, and talk only
> about the "index" and "index entries". Of course, a bunch of the code will
> have to be renamed to make this completely successful, but we could change
> the glossary and documentation, and mention "cache" and "cache entry" as
> old names for "index" and "index entry" respectively.

For me, "index" is just the file named "index" (holding stat data and a 
ref for each cache entry). That is why I say an "index" contains "cache 
entries", not "index entries" (wee, that sounds wrong :-).

> > working tree::
> > 	The set of files and directories currently being worked on.
> > 	Think "ls -laR"
> 
> This is where the data is actually in the filesystem, and you can edit and
> compile it (as opposed to a tree object or the index, which semantically
> have the same contents, but aren't presented in the filesystem that way).

Maybe I was too cautious. Linus very new idea was to think of the lowest 
level of an SCM as a file system. But I did not want to mention that. 
Thinking of it again, maybe I should.

> > checkout::
>
> Move after "revision"?

Ultimately, the glossary terms will be sorted alphabetically. If you look 
at the file attached to my original mail, this is already sorted and 
marked up using asciidoc. However, I wanted you and the list to understand 
how I grouped terms. The asciidoc'ed file is generated by a perl script.

> Move "parent" around here.

See above.

> Move after "tree-ish".

Ditto.

> > branch::
> > 	A non-cyclical graph of revisions, i.e. the complete history of
> > 	a particular revision, which does not (yet) have children, which
> > 	is called the branch head. The branch heads are stored in
> > 	$GIT_DIR/refs/heads/.
> 
> A branch head might have children, if they're in another branch. (E.g., I
> pull mainline, make a new branch based on it, and commit a change; the
> head of mainline is still a branch head, even though it's the parent of my
> new commit, because my new commit isn't in mainline.)

Well noted! I'll just delete that part.

> > tag::
> > 	A ref pointing to a tag or commit object. In contrast to a head,
> > 	a tag is not changed by a commit. Tags (not tag objects) are
> > 	stored in $GIT_DIR/refs/tags/. A git tag has nothing to do with
> > 	a Lisp tag (which is called object type in git's context).
> 
> As above, only the head for the branch being committed to is changed by a
> commit. A tag, not being the head of a branch, is therefore never changed
> by a commit.

I tried to say that.

> > resolve::
> > 	The action of fixing up manually what a failed automatic merge
> > 	left behind.
> 
> "Resolve" is also used for the automatic case (e.g., in
> "git-resolve-script", which goes from having two commits and a message to
> having a new commit). I'm not sure what the distinction is supposed to be.

I did not like that naming anyway. In reality, git-resolve-script does not 
resolve anything, but it merges two revisions, possibly leaving something 
to resolve.

Ciao,
Dscho

  reply	other threads:[~2005-08-17 20:05 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 14:56 First stab at glossary Johannes Schindelin
2005-08-17 19:13 ` Daniel Barkalow
2005-08-17 20:05   ` Johannes Schindelin [this message]
2005-08-17 20:57     ` Junio C Hamano
2005-08-17 21:24       ` Johannes Schindelin
2005-08-17 22:09     ` Daniel Barkalow
2005-08-17 22:19       ` Johannes Schindelin
2005-08-24 15:03         ` Tool renames? was " Tim Ottinger
2005-08-25  1:16           ` Junio C Hamano
2005-09-01 17:55             ` Tim Ottinger
2005-09-02  0:38               ` Junio C Hamano
2005-09-02  1:50                 ` Horst von Brand
2005-09-06 16:42                   ` Tim Ottinger
2005-09-02 18:09                 ` Daniel Barkalow
2005-09-02 18:33                   ` Junio C Hamano
2005-09-03  6:05                     ` Junio C Hamano
2005-09-03  6:54                       ` Daniel Barkalow
2005-09-03  8:29                         ` Junio C Hamano
2005-09-04 17:23                           ` Daniel Barkalow
2005-09-04 21:43                       ` Horst von Brand
2005-09-05  0:03                         ` Junio C Hamano
2005-09-05  0:26                           ` Peter Williams
2005-09-05  0:35                             ` Junio C Hamano
2005-09-05  0:45                               ` Peter Williams
2005-09-05  0:54                           ` Horst von Brand
2005-09-05  1:35                             ` Junio C Hamano
2005-09-05 14:41                             ` Linus Torvalds
2005-09-05 15:13                               ` David Kågedal
2005-09-05 16:04                                 ` Linus Torvalds
2005-09-05 16:28                                   ` David Kågedal
2005-09-05 18:23                                     ` Junio C Hamano
2005-09-05 18:13                               ` Junio C Hamano
2005-09-06  0:13                               ` Martin Langhoff
2005-09-06  7:16                                 ` Linus Torvalds
2005-09-06  7:46                                   ` Junio C Hamano
2005-09-06  7:59                                     ` Linus Torvalds
2005-09-06  8:38                                       ` Junio C Hamano
2005-09-06  8:57                                         ` David Kågedal
2005-09-06 23:54                                           ` Junio C Hamano
2005-09-08  1:04                                             ` Tool renames Junio C Hamano
2005-09-15  5:56                                               ` H. Peter Anvin
2005-09-15  8:03                                                 ` Junio C Hamano
2005-09-15  8:52                                                   ` Junio C Hamano
2005-09-16  5:44                                                     ` H. Peter Anvin
2005-09-16  6:20                                                       ` Junio C Hamano
2005-09-06  7:53                                   ` Tool renames? was Re: First stab at glossary Martin Langhoff

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=Pine.LNX.4.63.0508172156090.17234@wgmdd8.biozentrum.uni-wuerzburg.de \
    --to=johannes.schindelin@gmx.de \
    --cc=barkalow@iabervon.org \
    --cc=git@vger.kernel.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).