MyFirstObjectWalk: *.txt -> *.adoc fixes
Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Todd Zullinger committed
Mar 3, 2025 at 15:44 UTC
5ac2c61b550eb801d3acab1aa68f52379f9ad33b
1 file changed
+6
-6
Documentation/MyFirstObjectWalk.adoc
+6
-6
@@ -15,7 +15,7 @@ revision walk is used for operations like `git log`.
15
16
=== Related Reading
17
18
-- `Documentation/user-manual.txt` under "Hacking Git" contains some coverage of
18
+- `Documentation/user-manual.adoc` under "Hacking Git" contains some coverage of
19
the revision walker in its various incarnations.
20
- `revision.h`
21
- https://eagain.net/articles/git-for-computer-scientists/[Git for Computer Scientists]
@@ -112,7 +112,7 @@ $ GIT_TRACE=1 ./bin-wrappers/git walken
112
----
113
114
NOTE: For a more exhaustive overview of the new command process, take a look at
115
-`Documentation/MyFirstContribution.txt`.
115
+`Documentation/MyFirstContribution.adoc`.
116
117
NOTE: A reference implementation can be found at
118
https://github.com/nasamuffin/git/tree/revwalk.
@@ -132,7 +132,7 @@ used to track the allocated size of the list.
132
Per entry, we find:
133
134
`item` is the object provided upon which to base the object walk. Items in Git
135
-can be blobs, trees, commits, or tags. (See `Documentation/gittutorial-2.txt`.)
135
+can be blobs, trees, commits, or tags. (See `Documentation/gittutorial-2.adoc`.)
136
137
`name` is the object ID (OID) of the object - a hex string you may be familiar
138
with from using Git to organize your source in the past. Check the tutorial
@@ -141,7 +141,7 @@ from.
141
142
`whence` indicates some information about what to do with the parents of the
143
specified object. We'll explore this flag more later on; take a look at
144
-`Documentation/revisions.txt` to get an idea of what could set the `whence`
144
+`Documentation/revisions.adoc` to get an idea of what could set the `whence`
145
value.
146
147
`flags` are used to hint the beginning of the revision walk and are the first
@@ -153,7 +153,7 @@ can be used during the walk, as well.
153
154
This one is quite a bit longer, and many fields are only used during the walk
155
by `revision.c` - not configuration options. Most of the configurable flags in
156
-`struct rev_info` have a mirror in `Documentation/rev-list-options.txt`. It's a
156
+`struct rev_info` have a mirror in `Documentation/rev-list-options.adoc`. It's a
157
good idea to take some time and read through that document.
158
159
== Basic Commit Walk
@@ -710,7 +710,7 @@ objects grows along with the Git project.
710
=== Adding a Filter
711
712
There are a handful of filters that we can apply to the object walk laid out in
713
-`Documentation/rev-list-options.txt`. These filters are typically useful for
713
+`Documentation/rev-list-options.adoc`. These filters are typically useful for
714
operations such as creating packfiles or performing a partial clone. They are
715
defined in `list-objects-filter-options.h`. For the purposes of this tutorial we
716
will use the "tree:1" filter, which causes the walk to omit all trees and blobs