git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Extending and updating gitglossary

From
Jakub Narębski <jnareb@gmail.com>
Date
Nov 10, 2020, 23:52 UTC
Message-ID
<85v9ecixct.fsf@gmail.com>
In-Reply-To
<8b6d49e3-fdb8-ce63-650e-c937a2da2c7a@iee.email>
Hello Philip,
Philip Oakley <philipoakley@iee.email> writes:
Show 16 quoted lines
> On 10/11/2020 01:35, Jakub Narębski wrote:
>> Philip Oakley <philipoakley@iee.email> writes:
>>> On 06/11/2020 18:26, Jakub Narębski wrote:
>>>> Junio C Hamano <gitster@pobox.com> writes:
>>>>> Philip Oakley <philipoakley@iee.email> writes:
>>>>>
>>>>>> This may be not part of the the main project, but could you consider, if
>>>>>> time permits, also adding some entries into the Git Glossary (`git help
>>>>>> glossary`) for the various terms we are using here and elsewhere, e.g.
>>>>>> 'topological levels', 'generation number', 'corrected commit date' (and
>>>>>> its fancy technical name for the use of date heuristics e.g. the
>>>>>> 'chronological ordering';).
>>>>>>
>>>>>> The glossary can provide a reference, once the issues are resolved. The
>>>>>> History Simplification and Commit Ordering section of git-log maybe a
>>>>>> useful guide to some of the terms that would link to the glossary.
[...]
Show 6 quoted lines
>> What terms you feel need glossary entry?
>
> While it was Junio that made the comment, I'd agree that we should be
> using the glossary to explain, in a general sense, the terms that are
> used is a specialist sense. As the user community expands, their natural
> understanding of some of the terms diminishes.

I was hoping for a list of terms from the abovementioned sections of git-log manpage you feel need entry in gitglosary(7).

[...]
Show 7 quoted lines
>> To be more precise, I think that user-facing glossary should include
>> only terms that appear in user-facing documentation and in output
>> messages of Git commands (with the possible exception of maybe output
>> messages of some low-level plumbing).
>
> And where implied, the underlying concepts when they aren't obvious, or
> lack general terms (e.g. the 'staging area' discussions)

True, 'staging area' should IMVHO be in glossary (replacing or in addition to older less specific term 'index', previous name for 'staging area' term).

>> I think that the developer-facing glossary should include terms that
>> appear in technical documentation, and in commit messages in Git
>> history.
Such as 'topological levels', 'commit slab' / 'on the slab', etc.
Show 18 quoted lines
>>> However we do mention "topolog*"  in a number of the manual pages, and
>>> rather less, as yet, in the technical pages.
>>>
>>> "Lexicographic" and "chronological" are in the same group of fancy
>>> technical words ;-)
>>
>> I think that 'topological level' would appear only in technical
>> documentation; if it would be the case then there is no reason to add it
>> to user-facing glossary (to gitglossary manpage).
>>
>> 'Topological order' or 'topological sort', 'lexicographical order' and
>> 'chronological order' are not Git-specific terms, and there are no
>> Git-specific ambiguities.  I am therefore a bit unsure about adding them
>> to *Git* glossary.
>
> It is that they aren't terms used in normal speech, so many folks do not
> comprehend the implied precision that the docs assume, nor the problems
> they may hide.
Right.
Show 7 quoted lines
>> - In computer science, a _topological sort_ or _topological_ ordering of
>>   a directed graph is a linear ordering of its vertices such that for
>>   every directed edge uv from vertex u to vertex v, u comes before v in
>>   the ordering.
>
> Does this imply that those who aren't computer scientists shouldn't be
> using Git?

I think that in most cases where we refer to topological order in the documentation we describe it there. It might be good idea to add it to the glossary, especially because Git uses it often in a very specific sense.

On the other hand, should we define 'topology' or 'graph' as well? Or 'glossary' ;-) ? Those don't have any special meaning in Git, and can be as well found in the dictionary or Wikipedia.

Show 11 quoted lines
>>   For Git it means that top to bottom, commits always appear before
>>   their parents. With `--graph` or `--topo-order` Git also avoids
>>   showing commits on multiple lines of history intermixed.
>>
>> - In mathematics, the _lexicographic_ or _lexicographical order_ (also
>>   known as lexical order, dictionary order, etc.) is a generalization of
>>   the alphabetical order.
>>
>>   For Git it is simply alphabetical order. 
>
> ASCII order, Case sensitivity, Special characters, etc.

Actually I don't know. Let me check: the only place this term appears in the documentation is in git-tag(1) manpage and related documentation. It simplly uses strcmp(), or strcasecmp() when using `--ignore-case` option; so by default case sensitive.

It looks like it does not take locale-specific rules.
Show 6 quoted lines
>> - _Chronological order_ is the arrangement of things following one after
>>   another in time; or in other words date order.
>
> Given that most résumés (the thing most folk see that asks for date
> order) is latest first, does this clarify which way chronological is? (I
> see this regularly in my other volunteer work).

Right, it might be not obvious at first glance that Git outputs most recent commits first, that is newest commits are on top. Though if you think about it in more detail, it is the only ordering that makes sense, especially for projects with a long history; first, it is newest commits that are most interesting, and second Git always walks the history from child to parent.

>>   Note that `git log --date-order` commits also always appear before
>>   their parents, but otherwise commits are shown in the commit timestamp
>>   order (committer date order)
[...]
Show 35 quoted lines
>>> Git does rip up most of what folks think about version "control",
>>> usually based on the imperfect replication of physical artefacts.
>>
>> I don't quite understand what you wanted to say there.  Could you
>> explain in more detail, please?
>
> Background, I see Git & Version Control from an engineers view point,
> rather than developers view.
>
> In the "real" world there are no perfect copies, we serialise key items
> so that we can track their degradation, and replace them when required.
> We attempt to "Control" what is happening. Our documentation and
> monitoring systems have layers of control to ensure only suitably
> qualified persons may access and inspect critical items, can record and
> access previous status reports, etc. There is only one "Mona Lisa", with
> critical access controls, even though there are 'copies'
> https://en.wikipedia.org/wiki/Mona_Lisa#Early_versions_and_copies.
> Almost all of our terminology for configuration control comes from the
> 'real' world, i.e. pre-modern computing.
>
> Git turns all that on its head. We can make perfect duplicates (they're
> not copies, not replicas..). The Object name is immutable. It's either
> right or wrong (exempt the SHAttered sha-1 breakage; were moving to
> sha-256). Git does *not* provide any access control. It supports the
> 'software freedoms' by distributing the control to the user. The
> repository is a version storage system, and the OIDs allow easy
> authentication between folks that they are looking at the same object,
> and all its implied descendants.
>
> Git has ripped up classical 'real' world version control. In many areas
> we need new or alternative terms, and documents that explain them to
> screen writers(*) and the many other non CS-major users of Git (and some
> engineers;-)
>
> (*) there's a diff pattern for them, IIRC, or at least one was proposed.

Right, though for me the concept of 'version control' was by default always about the digital, usually the source code.

There are different editions of books, changes to non-digital technical drawings and plans (AFAIK often in the form of physical foil overlays as subsequent layers, if done well; overdrawing on the same layer if not), amendment and changes to laws, etc.

Anyway, the question is what level of knowledge can we assume from the average Git user -- this would affect the spread of terms that should be considered for the Git glossary.

Best,
-- 
Jakub Narębski
Previous: Philip OakleyNext: Abhishek Kumar
Message 148 of 211 in “[GSoC] Implement Corrected Commit Date”
  1. 0/6 [GSoC] Implement Corrected Commit DateAbhishek Kumar via GitGitGadget, Jul 28, 2020
  2. 1/6 commit-graph: fix regression when computing bloom filterAbhishek Kumar via GitGitGadget, Jul 28, 2020
  3. 2/6 revision: parse parent in indegree_walk_step()Abhishek Kumar via GitGitGadget, Jul 28, 2020
  4. 3/6 commit-graph: consolidate fill_commit_graph_infoAbhishek Kumar via GitGitGadget, Jul 28, 2020
  5. 4/6 commit-graph: consolidate compare_commits_by_genAbhishek Kumar via GitGitGadget, Jul 28, 2020
  6. 5/6 commit-graph: implement generation data chunkAbhishek Kumar via GitGitGadget, Jul 28, 2020
  7. 6/6 commit-graph: implement corrected commit date offsetAbhishek Kumar via GitGitGadget, Jul 28, 2020
  8. Derrick StoleeJul 28, 2020
  9. Derrick StoleeJul 28, 2020
  10. Taylor BlauJul 28, 2020
  11. René ScharfeJul 28, 2020
  12. Taylor BlauJul 28, 2020
  13. Taylor BlauJul 28, 2020
  14. Derrick StoleeJul 28, 2020
  15. Derrick StoleeJul 28, 2020
  16. Taylor BlauJul 28, 2020
  17. Taylor BlauJul 28, 2020
  18. Taylor BlauJul 28, 2020
  19. Taylor BlauJul 28, 2020
  20. Derrick StoleeJul 28, 2020
  21. Abhishek KumarJul 30, 2020
  22. Abhishek KumarJul 30, 2020
  23. Abhishek KumarJul 30, 2020
  24. Abhishek KumarJul 30, 2020
  25. Abhishek KumarJul 30, 2020
  26. Jakub NarębskiAug 4, 2020
  27. Taylor BlauAug 4, 2020
  28. Jakub NarębskiAug 4, 2020
  29. Jakub NarębskiAug 4, 2020
  30. Jakub NarębskiAug 5, 2020
  31. 01/10 commit-graph: fix regression when computing bloom filterAbhishek Kumar via GitGitGadget, Aug 9, 2020
  32. 03/10 commit-graph: consolidate fill_commit_graph_infoAbhishek Kumar via GitGitGadget, Aug 9, 2020
  33. 02/10 revision: parse parent in indegree_walk_step()Abhishek Kumar via GitGitGadget, Aug 9, 2020
  34. 00/10 [GSoC] Implement Corrected Commit DateAbhishek Kumar via GitGitGadget, Aug 9, 2020
  35. 08/10 commit-graph: handle mixed generation commit chainsAbhishek Kumar via GitGitGadget, Aug 9, 2020
  36. 09/10 commit-reach: use corrected commit dates in paint_down_to_common()Abhishek Kumar via GitGitGadget, Aug 9, 2020
  37. 07/10 commit-graph: implement corrected commit dateAbhishek Kumar via GitGitGadget, Aug 9, 2020
  38. 06/10 commit-graph: return 64-bit generation numberAbhishek Kumar via GitGitGadget, Aug 9, 2020
  39. 10/10 doc: add corrected commit date infoAbhishek Kumar via GitGitGadget, Aug 9, 2020
  40. 04/10 commit-graph: consolidate compare_commits_by_genAbhishek Kumar via GitGitGadget, Aug 9, 2020
  41. 05/10 commit-graph: implement generation data chunkAbhishek Kumar via GitGitGadget, Aug 9, 2020
  42. Derrick StoleeAug 10, 2020
  43. Derrick StoleeAug 10, 2020
  44. Derrick StoleeAug 10, 2020
  45. Derrick StoleeAug 10, 2020
  46. Abhishek KumarAug 11, 2020
  47. Abhishek KumarAug 11, 2020
  48. Derrick StoleeAug 11, 2020
  49. Derrick StoleeAug 11, 2020
  50. Taylor BlauAug 11, 2020
  51. Abhishek KumarAug 14, 2020
  52. Derrick StoleeAug 14, 2020
  53. 01/11 commit-graph: fix regression when computing bloom filterAbhishek Kumar via GitGitGadget, Aug 15, 2020
  54. 04/11 commit-graph: consolidate compare_commits_by_genAbhishek Kumar via GitGitGadget, Aug 15, 2020
  55. 11/11 doc: add corrected commit date infoAbhishek Kumar via GitGitGadget, Aug 15, 2020
  56. 05/11 commit-graph: return 64-bit generation numberAbhishek Kumar via GitGitGadget, Aug 15, 2020
  57. 00/11 [GSoC] Implement Corrected Commit DateAbhishek Kumar via GitGitGadget, Aug 15, 2020
  58. 10/11 commit-reach: use corrected commit dates in paint_down_to_common()Abhishek Kumar via GitGitGadget, Aug 15, 2020
  59. 09/11 commit-graph: use generation v2 only if entire chain doesAbhishek Kumar via GitGitGadget, Aug 15, 2020
  60. 08/11 commit-graph: implement generation data chunkAbhishek Kumar via GitGitGadget, Aug 15, 2020
  61. 06/11 commit-graph: add a slab to store topological levelsAbhishek Kumar via GitGitGadget, Aug 15, 2020
  62. 03/11 commit-graph: consolidate fill_commit_graph_infoAbhishek Kumar via GitGitGadget, Aug 15, 2020
  63. 07/11 commit-graph: implement corrected commit dateAbhishek Kumar via GitGitGadget, Aug 15, 2020
  64. 02/11 revision: parse parent in indegree_walk_step()Abhishek Kumar via GitGitGadget, Aug 15, 2020
  65. Jakub NarębskiAug 17, 2020
  66. Taylor BlauAug 17, 2020
  67. Jakub NarębskiAug 17, 2020
  68. Derrick StoleeAug 17, 2020
  69. Jakub NarębskiAug 17, 2020
  70. Abhishek KumarAug 18, 2020
  71. Jakub NarębskiAug 18, 2020
  72. Jakub NarębskiAug 19, 2020
  73. Abhishek KumarAug 21, 2020
  74. Jakub NarębskiAug 21, 2020
  75. Jakub NarębskiAug 21, 2020
  76. Jakub NarębskiAug 21, 2020
  77. Jakub NarębskiAug 22, 2020
  78. Jakub NarębskiAug 22, 2020
  79. Jakub NarębskiAug 22, 2020
  80. Jakub NarębskiAug 22, 2020
  81. Jakub NarębskiAug 22, 2020
  82. Jakub NarębskiAug 23, 2020
  83. Abhishek KumarAug 24, 2020
  84. Abhishek KumarAug 25, 2020
  85. Abhishek KumarAug 25, 2020
  86. Abhishek KumarAug 25, 2020
  87. Jakub NarębskiAug 25, 2020
  88. Jakub NarębskiAug 25, 2020
  89. Jakub NarębskiAug 25, 2020
  90. Jakub NarębskiAug 25, 2020
  91. Jakub NarębskiAug 25, 2020
  92. Abhishek KumarAug 26, 2020
  93. Jakub NarębskiAug 26, 2020
  94. Abhishek KumarAug 27, 2020
  95. Jakub NarębskiAug 27, 2020
  96. Derrick StoleeAug 27, 2020
  97. Abhishek KumarSep 1, 2020
  98. Abhishek KumarSep 1, 2020
  99. Abhishek KumarSep 1, 2020
  100. Abhishek KumarSep 1, 2020
  101. Abhishek KumarSep 1, 2020
  102. Abhishek KumarSep 1, 2020
  103. Jakub NarębskiSep 3, 2020
  104. Jakub NarębskiSep 3, 2020
  105. Jakub NarębskiSep 3, 2020
  106. Abhishek KumarSep 5, 2020
  107. Jakub NarębskiSep 13, 2020
  108. Jakub NarębskiSep 28, 2020
  109. Abhishek KumarOct 5, 2020
  110. 02/10 revision: parse parent in indegree_walk_step()Abhishek Kumar via GitGitGadget, Oct 7, 2020
  111. 01/10 commit-graph: fix regression when computing Bloom filtersAbhishek Kumar via GitGitGadget, Oct 7, 2020
  112. 00/10 [GSoC] Implement Corrected Commit DateAbhishek Kumar via GitGitGadget, Oct 7, 2020
  113. 03/10 commit-graph: consolidate fill_commit_graph_infoAbhishek Kumar via GitGitGadget, Oct 7, 2020
  114. 05/10 commit-graph: add a slab to store topological levelsAbhishek Kumar via GitGitGadget, Oct 7, 2020
  115. 04/10 commit-graph: return 64-bit generation numberAbhishek Kumar via GitGitGadget, Oct 7, 2020
  116. 10/10 doc: add corrected commit date infoAbhishek Kumar via GitGitGadget, Oct 7, 2020
  117. 09/10 commit-reach: use corrected commit dates in paint_down_to_common()Abhishek Kumar via GitGitGadget, Oct 7, 2020
  118. 07/10 commit-graph: implement generation data chunkAbhishek Kumar via GitGitGadget, Oct 7, 2020
  119. 08/10 commit-graph: use generation v2 only if entire chain doesAbhishek Kumar via GitGitGadget, Oct 7, 2020
  120. 06/10 commit-graph: implement corrected commit dateAbhishek Kumar via GitGitGadget, Oct 7, 2020
  121. Jakub NarębskiOct 24, 2020
  122. Jakub NarębskiOct 24, 2020
  123. Jakub NarębskiOct 25, 2020
  124. Jakub NarębskiOct 25, 2020
  125. Taylor BlauOct 25, 2020
  126. Jakub NarębskiOct 25, 2020
  127. Abhishek KumarOct 27, 2020
  128. Jakub NarębskiOct 27, 2020
  129. Jakub NarębskiOct 30, 2020
  130. Jakub NarębskiNov 1, 2020
  131. Abhishek KumarNov 3, 2020
  132. Abhishek KumarNov 3, 2020
  133. Abhishek KumarNov 3, 2020
  134. Jakub NarębskiNov 3, 2020
  135. Junio C HamanoNov 3, 2020
  136. Jakub NarębskiNov 4, 2020
  137. Jakub NarębskiNov 4, 2020
  138. Jakub NarębskiNov 4, 2020
  139. Philip OakleyNov 5, 2020
  140. Junio C HamanoNov 5, 2020
  141. Abhishek KumarNov 6, 2020
  142. Jakub NarębskiNov 6, 2020
  143. Extending and updating gitglossary (was: Re: [PATCH v4 06/10] commit-graph: implement corrected commit date)Jakub Narębski, Nov 6, 2020
  144. Junio C HamanoNov 6, 2020
  145. Philip OakleyNov 8, 2020
  146. Jakub NarębskiNov 10, 2020
  147. Philip OakleyNov 10, 2020
  148. Jakub NarębskiNov 10, 2020
  149. Abhishek KumarNov 12, 2020
  150. Jakub NarębskiNov 13, 2020
  151. Abhishek KumarNov 20, 2020
  152. Abhishek KumarNov 21, 2020
  153. Abhishek KumarNov 22, 2020
  154. 01/11 commit-graph: fix regression when computing Bloom filtersAbhishek Kumar via GitGitGadget, Dec 28, 2020
  155. 02/11 revision: parse parent in indegree_walk_step()Abhishek Kumar via GitGitGadget, Dec 28, 2020
  156. 03/11 commit-graph: consolidate fill_commit_graph_infoAbhishek Kumar via GitGitGadget, Dec 28, 2020
  157. 04/11 t6600-test-reach: generalize *_three_modesAbhishek Kumar via GitGitGadget, Dec 28, 2020
  158. 00/11 [GSoC] Implement Corrected Commit DateAbhishek Kumar via GitGitGadget, Dec 28, 2020
  159. 05/11 commit-graph: add a slab to store topological levelsAbhishek Kumar via GitGitGadget, Dec 28, 2020
  160. 06/11 commit-graph: return 64-bit generation numberAbhishek Kumar via GitGitGadget, Dec 28, 2020
  161. 10/11 commit-reach: use corrected commit dates in paint_down_to_common()Abhishek Kumar via GitGitGadget, Dec 28, 2020
  162. 07/11 commit-graph: implement corrected commit dateAbhishek Kumar via GitGitGadget, Dec 28, 2020
  163. 11/11 doc: add corrected commit date infoAbhishek Kumar via GitGitGadget, Dec 28, 2020
  164. 08/11 commit-graph: implement generation data chunkAbhishek Kumar via GitGitGadget, Dec 28, 2020
  165. 09/11 commit-graph: use generation v2 only if entire chain doesAbhishek Kumar via GitGitGadget, Dec 28, 2020
  166. Derrick StoleeDec 30, 2020
  167. Derrick StoleeDec 30, 2020
  168. Derrick StoleeDec 30, 2020
  169. Derrick StoleeDec 30, 2020
  170. SZEDER GáborJan 5, 2021
  171. SZEDER GáborJan 5, 2021
  172. Abhishek KumarJan 8, 2021
  173. Abhishek KumarJan 8, 2021
  174. Abhishek KumarJan 10, 2021
  175. Abhishek KumarJan 10, 2021
  176. Abhishek KumarJan 10, 2021
  177. Derrick StoleeJan 11, 2021
  178. 02/11 revision: parse parent in indegree_walk_step()Abhishek Kumar via GitGitGadget, Jan 16, 2021
  179. 01/11 commit-graph: fix regression when computing Bloom filtersAbhishek Kumar via GitGitGadget, Jan 16, 2021
  180. 00/11 [GSoC] Implement Corrected Commit DateAbhishek Kumar via GitGitGadget, Jan 16, 2021
  181. 03/11 commit-graph: consolidate fill_commit_graph_infoAbhishek Kumar via GitGitGadget, Jan 16, 2021
  182. 04/11 t6600-test-reach: generalize *_three_modesAbhishek Kumar via GitGitGadget, Jan 16, 2021
  183. 07/11 commit-graph: implement corrected commit dateAbhishek Kumar via GitGitGadget, Jan 16, 2021
  184. 06/11 commit-graph: return 64-bit generation numberAbhishek Kumar via GitGitGadget, Jan 16, 2021
  185. 11/11 doc: add corrected commit date infoAbhishek Kumar via GitGitGadget, Jan 16, 2021
  186. 05/11 commit-graph: add a slab to store topological levelsAbhishek Kumar via GitGitGadget, Jan 16, 2021
  187. 08/11 commit-graph: implement generation data chunkAbhishek Kumar via GitGitGadget, Jan 16, 2021
  188. 10/11 commit-reach: use corrected commit dates in paint_down_to_common()Abhishek Kumar via GitGitGadget, Jan 16, 2021
  189. 09/11 commit-graph: use generation v2 only if entire chain doesAbhishek Kumar via GitGitGadget, Jan 16, 2021
  190. Derrick StoleeJan 18, 2021
  191. Taylor BlauJan 18, 2021
  192. Junio C HamanoJan 19, 2021
  193. Abhishek KumarJan 23, 2021
  194. Abhishek KumarJan 23, 2021
  195. SZEDER GáborJan 27, 2021
  196. Abhishek KumarJan 30, 2021
  197. Taylor BlauJan 31, 2021
  198. 01/11 commit-graph: fix regression when computing Bloom filtersAbhishek Kumar via GitGitGadget, Feb 1, 2021
  199. 02/11 revision: parse parent in indegree_walk_step()Abhishek Kumar via GitGitGadget, Feb 1, 2021
  200. 00/11 [GSoC] Implement Corrected Commit DateAbhishek Kumar via GitGitGadget, Feb 1, 2021
  201. 03/11 commit-graph: consolidate fill_commit_graph_infoAbhishek Kumar via GitGitGadget, Feb 1, 2021
  202. 04/11 t6600-test-reach: generalize *_three_modesAbhishek Kumar via GitGitGadget, Feb 1, 2021
  203. 05/11 commit-graph: add a slab to store topological levelsAbhishek Kumar via GitGitGadget, Feb 1, 2021
  204. 06/11 commit-graph: return 64-bit generation numberAbhishek Kumar via GitGitGadget, Feb 1, 2021
  205. 08/11 commit-graph: implement corrected commit dateAbhishek Kumar via GitGitGadget, Feb 1, 2021
  206. 10/11 commit-graph: use generation v2 only if entire chain doesAbhishek Kumar via GitGitGadget, Feb 1, 2021
  207. 09/11 commit-graph: implement generation data chunkAbhishek Kumar via GitGitGadget, Feb 1, 2021
  208. 07/11 commit-graph: document generation number v2Abhishek Kumar via GitGitGadget, Feb 1, 2021
  209. 11/11 commit-reach: use corrected commit dates in paint_down_to_common()Abhishek Kumar via GitGitGadget, Feb 1, 2021
  210. Derrick StoleeFeb 1, 2021
  211. Junio C HamanoFeb 1, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.