MyFirstObjectWalk: drop `init_walken_defaults()`

In a recent commit, we stopped calling `init_grep_defaults()` from this function. Thus, by the end of the tutorial, we still haven't added any contents to this function. Let's remove it for simplicity. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Martin Ågren committed Nov 29, 2020 at 20:52 UTC 3bf97e12703d27ac1928f2551cc09bbf13597149
1 file changed -24
Documentation/MyFirstObjectWalk.txt
-24
@@ -182,30 +182,6 @@ its `init_log_defaults()` sets its own state (`decoration_style`) and asks
182 `grep` and `diff` to initialize themselves by calling each of their
183 initialization functions.
184
185 -For our first example within `git walken`, we don't intend to use any other
186 -components within Git, and we don't have any configuration to do. However, we
187 -may want to add some later, so for now, we can add an empty placeholder. Create
188 -a new function in `builtin/walken.c`:
189 -
190 -----
191 -static void init_walken_defaults(void)
192 -{
193 - /*
194 - * We don't actually need the same components `git log` does; leave this
195 - * empty for now.
196 - */
197 -}
198 -----
199 -
200 -Make sure to add a line invoking it inside of `cmd_walken()`.
201 -
202 -----
203 -int cmd_walken(int argc, const char **argv, const char *prefix)
204 -{
205 - init_walken_defaults();
206 -}
207 -----
208 -
185 ==== Configuring From `.gitconfig`
186
187 Next, we should have a look at any relevant configuration settings (i.e.,