Skip to content

Commit 26c816a

Browse files
committed
Merge branch 'hw/doc-in-header'
* hw/doc-in-header: trace2: move doc to trace2.h submodule-config: move doc to submodule-config.h tree-walk: move doc to tree-walk.h trace: move doc to trace.h run-command: move doc to run-command.h parse-options: add link to doc file in parse-options.h credential: move doc to credential.h argv-array: move doc to argv-array.h cache: move doc to cache.h sigchain: move doc to sigchain.h pathspec: move doc to pathspec.h revision: move doc to revision.h attr: move doc to attr.h refs: move doc to refs.h remote: move doc to remote.h and refspec.h sha1-array: move doc to sha1-array.h merge: move doc to ll-merge.h graph: move doc to graph.h and graph.c dir: move doc to dir.h diff: move doc to diff.h and diffcore.h
2 parents f0070a7 + 6c51cb5 commit 26c816a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1931
-2452
lines changed

Documentation/MyFirstObjectWalk.txt

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ revision walk is used for operations like `git log`.
1717

1818
- `Documentation/user-manual.txt` under "Hacking Git" contains some coverage of
1919
the revision walker in its various incarnations.
20-
- `Documentation/technical/api-revision-walking.txt`
20+
- `revision.h`
2121
- https://eagain.net/articles/git-for-computer-scientists/[Git for Computer Scientists]
2222
gives a good overview of the types of objects in Git and what your object
2323
walk is really describing.
@@ -119,9 +119,8 @@ parameters provided by the user over the CLI.
119119

120120
`nr` represents the number of `rev_cmdline_entry` present in the array.
121121

122-
`alloc` is used by the `ALLOC_GROW` macro. Check
123-
`Documentation/technical/api-allocation-growing.txt` - this variable is used to
124-
track the allocated size of the list.
122+
`alloc` is used by the `ALLOC_GROW` macro. Check `cache.h` - this variable is
123+
used to track the allocated size of the list.
125124

126125
Per entry, we find:
127126

Documentation/git-credential.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ from system-specific helpers, as well as prompting the user for
1919
usernames and passwords. The git-credential command exposes this
2020
interface to scripts which may want to retrieve, store, or prompt for
2121
credentials in the same manner as Git. The design of this scriptable
22-
interface models the internal C API; see
23-
link:technical/api-credentials.html[the Git credential API] for more
22+
interface models the internal C API; see credential.h for more
2423
background on the concepts.
2524

2625
git-credential takes an "action" option on the command-line (one of

Documentation/gitcredentials.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@ CUSTOM HELPERS
186186
--------------
187187

188188
You can write your own custom helpers to interface with any system in
189-
which you keep credentials. See the documentation for Git's
190-
link:technical/api-credentials.html[credentials API] for details.
189+
which you keep credentials. See credential.h for details.
191190

192191
GIT
193192
---

Documentation/technical/api-allocation-growing.txt

-39
This file was deleted.

Documentation/technical/api-argv-array.txt

-65
This file was deleted.

0 commit comments

Comments
 (0)