summaryrefslogtreecommitdiffstats
path: root/MyFirstContribution.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-08-27 14:30:02 -0700
committerJunio C Hamano <gitster@pobox.com>2020-08-27 14:30:02 -0700
commitc0926523a55c2dd1314deb3281dabb03b2d5f965 (patch)
treedb219593c9732a1d0180467314eaefc1115a3bbe /MyFirstContribution.html
parent48d7a8a0dd06ff822cc6ee60872386ac9a1d124d (diff)
downloadgit-htmldocs-c0926523a55c2dd1314deb3281dabb03b2d5f965.tar.gz
Autogenerated HTML docs for v2.28.0-358-g20de7
Diffstat (limited to 'MyFirstContribution.html')
-rw-r--r--MyFirstContribution.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/MyFirstContribution.html b/MyFirstContribution.html
index e11225a01..61bc5f4f0 100644
--- a/MyFirstContribution.html
+++ b/MyFirstContribution.html
@@ -1054,13 +1054,13 @@ function body:</p></div>
...
git_config(git_default_config, NULL);
- if (git_config_get_string_const("user.name", &amp;cfg_name) &gt; 0)
+ if (git_config_get_string_tmp("user.name", &amp;cfg_name) &gt; 0)
printf(_("No name is found in config\n"));
else
printf(_("Your name: %s\n"), cfg_name);</code></pre>
</div></div>
<div class="paragraph"><p><code>git_config()</code> will grab the configuration from config files known to Git and
-apply standard precedence rules. <code>git_config_get_string_const()</code> will look up
+apply standard precedence rules. <code>git_config_get_string_tmp()</code> will look up
a specific key ("user.name") and give you the value. There are a number of
single-key lookup functions like this one; you can see them all (and more info
about how to use <code>git_config()</code>) in <code>Documentation/technical/api-config.txt</code>.</p></div>
@@ -1899,7 +1899,7 @@ should generate your diffs from <code>&lt;topic&gt;..&lt;mybranch&gt;</code> and
<div id="footer">
<div id="footer-text">
Last updated
- 2020-07-06 22:33:22 PDT
+ 2020-08-27 14:26:53 PDT
</div>
</div>
</body>