Skip to content

Commit b4ceeef

Browse files
committed
Merge branch 'es/walken-tutorial-fix'
Typofix. * es/walken-tutorial-fix: doc: fix syntax error and the format of printf
2 parents 9559de3 + 469888e commit b4ceeef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/MyFirstObjectWalk.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ help understand. In our case, that means we omit trees and blobs not directly
691691
referenced by `HEAD` or `HEAD`'s history, because we begin the walk with only
692692
`HEAD` in the `pending` list.)
693693

694-
First, we'll need to `#include "list-objects-filter-options.h`" and set up the
694+
First, we'll need to `#include "list-objects-filter-options.h"` and set up the
695695
`struct list_objects_filter_options` at the top of the function.
696696

697697
----
@@ -779,7 +779,7 @@ Count all the objects within and modify the print statement:
779779
while ((oid = oidset_iter_next(&oit)))
780780
omitted_count++;
781781

782-
printf("commits %d\nblobs %d\ntags %d\ntrees%d\nomitted %d\n",
782+
printf("commits %d\nblobs %d\ntags %d\ntrees %d\nomitted %d\n",
783783
commit_count, blob_count, tag_count, tree_count, omitted_count);
784784
----
785785

0 commit comments

Comments
 (0)