summaryrefslogtreecommitdiff
path: root/ex/HEAD/ls-remote.html
diff options
context:
space:
mode:
authorDocumentation Generation <libgit2@users.noreply.github.com>2023-02-15 00:22:01 +0000
committerDocumentation Generation <libgit2@users.noreply.github.com>2023-02-15 00:22:01 +0000
commit859a68b56869ec981e1bcdbbb41afda3b60cc18e (patch)
treebd6922cd7470ad75ae676fd43e8a19a849f312be /ex/HEAD/ls-remote.html
parent545986b1a9342afe486402900cdf2bb0610a9aa5 (diff)
downloadlibgit2-859a68b56869ec981e1bcdbbb41afda3b60cc18e.tar.gz
generated docs
Diffstat (limited to 'ex/HEAD/ls-remote.html')
-rw-r--r--ex/HEAD/ls-remote.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ex/HEAD/ls-remote.html b/ex/HEAD/ls-remote.html
index dc0f10539..3a8955f95 100644
--- a/ex/HEAD/ls-remote.html
+++ b/ex/HEAD/ls-remote.html
@@ -113,7 +113,7 @@ their name next to what they point to.</p>
<span class="k">goto</span> <span class="n">cleanup</span><span class="p">;</span>
<span class="k">for</span> <span class="p">(</span><span class="n">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="n">i</span> <span class="o">&lt;</span> <span class="n">refs_len</span><span class="p">;</span> <span class="n">i</span><span class="o">++</span><span class="p">)</span> <span class="p">{</span>
- <span class="kt">char</span> <span class="n">oid</span><span class="p">[</span><span class="n">GIT_OID_HEXSZ</span> <span class="o">+</span> <span class="mi">1</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span><span class="mi">0</span><span class="p">};</span>
+ <span class="kt">char</span> <span class="n">oid</span><span class="p">[</span><span class="n">GIT_OID_SHA1_HEXSIZE</span> <span class="o">+</span> <span class="mi">1</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span><span class="mi">0</span><span class="p">};</span>
<span class="n"><a name="git_oid_fmt-1" class="fnlink" href="../../#HEAD/group/oid/git_oid_fmt">git_oid_fmt</a></span><span class="p">(</span><span class="n">oid</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">refs</span><span class="p">[</span><span class="n">i</span><span class="p">]</span><span class="o">-&gt;</span><span class="n">oid</span><span class="p">);</span>
<span class="n">printf</span><span class="p">(</span><span class="s">&quot;%s</span><span class="se">\t</span><span class="s">%s</span><span class="se">\n</span><span class="s">&quot;</span><span class="p">,</span> <span class="n">oid</span><span class="p">,</span> <span class="n">refs</span><span class="p">[</span><span class="n">i</span><span class="p">]</span><span class="o">-&gt;</span><span class="n">name</span><span class="p">);</span>
<span class="p">}</span>