diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-11-07 10:26:44 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-11-07 10:26:44 +0900 |
| commit | 9f7fbe07dc5069642c9494ebed4500e7b46e03b2 (patch) | |
| tree | c771f90efce0179816acc2c181c64cdc5b5708c9 | |
| parent | Merge branch 'ms/send-email-validate-fix' (diff) | |
| parent | Include gettext.h in MyFirstContribution tutorial (diff) | |
| download | git-9f7fbe07dc5069642c9494ebed4500e7b46e03b2.tar.gz git-9f7fbe07dc5069642c9494ebed4500e7b46e03b2.zip | |
Merge branch 'js/my-first-contribution-update'
Documentation update.
* js/my-first-contribution-update:
Include gettext.h in MyFirstContribution tutorial
| -rw-r--r-- | Documentation/MyFirstContribution.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/MyFirstContribution.txt b/Documentation/MyFirstContribution.txt index 62d11a5cd7..7cfed60c2e 100644 --- a/Documentation/MyFirstContribution.txt +++ b/Documentation/MyFirstContribution.txt @@ -160,10 +160,11 @@ in order to keep the declarations alphabetically sorted: int cmd_psuh(int argc, const char **argv, const char *prefix); ---- -Be sure to `#include "builtin.h"` in your `psuh.c`. +Be sure to `#include "builtin.h"` in your `psuh.c`. You'll also need to +`#include "gettext.h"` to use functions related to printing output text. -Go ahead and add some throwaway printf to that function. This is a decent -starting point as we can now add build rules and register the command. +Go ahead and add some throwaway printf to the `cmd_psuh` function. This is a +decent starting point as we can now add build rules and register the command. NOTE: Your throwaway text, as well as much of the text you will be adding over the course of this tutorial, is user-facing. That means it needs to be |
