]> git.ipfire.org Git - thirdparty/git.git/commit
docs: fix places that break compilation in MyFirstObjectWalk
authorJohn Cai <johncai86@gmail.com>
Fri, 29 Oct 2021 19:52:42 +0000 (19:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Oct 2021 20:02:45 +0000 (13:02 -0700)
commitf0ac30ec190284627f9bd3d0681823bcdc79dcf2
tree4e5c51feacef18605b643c006ce2ef867bca3fd6
parente9e5ba39a78c8f5057262d49e261b42a8660d5b9
docs: fix places that break compilation in MyFirstObjectWalk

Two errors in the example code caused compilation failures due to
a missing semicolon as well as initialization with an empty struct.
This commit fixes that to make the MyFirstObjectWalk tutorial easier to
follow.

Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/MyFirstObjectWalk.txt