Skip to content

Commit 0c91b46

Browse files
committed
Fix header ids for objects stuff
1 parent 923f6b4 commit 0c91b46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guides/101-samples/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ int error = git_repository_open_ext(&repo, "/tmp/…",
180180

181181
<h2 id="objects">Objects</h2>
182182

183-
<h3 id="repositories_shas_and_oids">SHAs and OIDs</h3>
183+
<h3 id="objects_shas_and_oids">SHAs and OIDs</h3>
184184

185185
SHA-1 hashes are usually written as 40 characters of hexadecimal.
186186
These are converted to a binary representation internally, called `git_oid`, and there are routines for converting back and forth.
@@ -206,7 +206,7 @@ free(newsha);
206206
[`git_oid_allocfmt`](http://libgit2.github.com/libgit2/#HEAD/group/oid/git_oid_allocfmt))
207207
208208
209-
<h3 id="repositories_lookups">Lookups</h3>
209+
<h3 id="objects_lookups">Lookups</h3>
210210
211211
There are four kinds of objects in a Git repository – commits, trees, blobs, and tag annotations.
212212
Each type of object has an API for doing lookups.
@@ -231,7 +231,7 @@ error = git_tag_lookup(&tag, repo, &oid);
231231
[`git_tag_lookup`](http://libgit2.github.com/libgit2/#HEAD/group/tag/git_tag_lookup))
232232

233233

234-
<h3 id="repositories_casting">Casting</h3>
234+
<h3 id="objects_casting">Casting</h3>
235235

236236
`git_object` acts like a "base class" for all of these types.
237237

0 commit comments

Comments
 (0)