Re: [PATCH 3/3] Add a few more words to the glossary.
From: Jon Loeliger <hidden>
Date: 2016-06-15 22:42:25
So, like, the other day Junio C Hamano mumbled:
Jon Loeliger [off-list ref] writes:quoted
ref:: - A 40-byte hex representation of a SHA1 pointing to a particular - object. These may be stored in `$GIT_DIR/refs/`. + A 40-byte hex representation of a SHA1 or a name that denotes + a particular object. These may be stored in `$GIT_DIR/refs/`.
Uum. Not very clear. Do we use that word that often?
Well, I was mystified a bit too, and I tried to clean it up some... "ref" gets used as half a <refspec>, from pull-fetch-param.txt: A parameter <ref> without a colon is equivalent to <ref>: when pulling/fetching, so it merges <ref> into the current branch without storing the remote branch anywhere locally So maybe I was confused here.
quoted
+symbolic ref:: + See "ref".I think I used that term to differenciate between HEAD symlink pointing at refs/heads/master and HEAD being a regular file that stores a line "ref: refs/heads/master\n"; the latter is the modern style "textual symref", so in that context it is not about 40-byte hex at all. And at that level it is really a jargon to talk about one small implementation detail of HEAD, so I am not sure it deserves to be in the glossary.
Given "git-symbolic-ref <name> [<ref>]", clearly I just botched it. You were right to drop my confused "symbolic ref" entry. :-(
quoted
tracking branch:: - A regular git branch that is used to follow changes from + A regular git branch that is used to follow changes frompointing another repository. A tracking branch should not containI think this is a typo?
Yes. Thanks for noticing and cleaning. jdl