summaryrefslogtreecommitdiff
path: root/ex/v0.20.0/network/ls-remote.html
diff options
context:
space:
mode:
Diffstat (limited to 'ex/v0.20.0/network/ls-remote.html')
-rw-r--r--ex/v0.20.0/network/ls-remote.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/ex/v0.20.0/network/ls-remote.html b/ex/v0.20.0/network/ls-remote.html
index 33a7c96ba..1c6009e38 100644
--- a/ex/v0.20.0/network/ls-remote.html
+++ b/ex/v0.20.0/network/ls-remote.html
@@ -77,9 +77,9 @@
<p>Find the remote by name</p>
</td>
<td class=code>
- <div class='highlight'><pre> <span class="n">error</span> <span class="o">=</span> <span class="n"><a name="git_remote_load-3" class="fnlink" href="../../#v0.20.0/group/remote/git_remote_load">git_remote_load</a></span><span class="p">(</span><span class="o">&amp;</span><span class="n">remote</span><span class="p">,</span> <span class="n">repo</span><span class="p">,</span> <span class="n">name</span><span class="p">);</span>
+ <div class='highlight'><pre> <span class="n">error</span> <span class="o">=</span> <span class="n">git_remote_load</span><span class="p">(</span><span class="o">&amp;</span><span class="n">remote</span><span class="p">,</span> <span class="n">repo</span><span class="p">,</span> <span class="n">name</span><span class="p">);</span>
<span class="k">if</span> <span class="p">(</span><span class="n">error</span> <span class="o">&lt;</span> <span class="mi">0</span><span class="p">)</span> <span class="p">{</span>
- <span class="n">error</span> <span class="o">=</span> <span class="n"><a name="git_remote_create_inmemory-2" class="fnlink" href="../../#v0.20.0/group/remote/git_remote_create_inmemory">git_remote_create_inmemory</a></span><span class="p">(</span><span class="o">&amp;</span><span class="n">remote</span><span class="p">,</span> <span class="n">repo</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">name</span><span class="p">);</span>
+ <span class="n">error</span> <span class="o">=</span> <span class="n">git_remote_create_inmemory</span><span class="p">(</span><span class="o">&amp;</span><span class="n">remote</span><span class="p">,</span> <span class="n">repo</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">,</span> <span class="n">name</span><span class="p">);</span>
<span class="k">if</span> <span class="p">(</span><span class="n">error</span> <span class="o">&lt;</span> <span class="mi">0</span><span class="p">)</span>
<span class="k">goto</span> <span class="n">cleanup</span><span class="p">;</span>
<span class="p">}</span></pre></div>
@@ -95,9 +95,9 @@ each of the remote references.</p>
</td>
<td class=code>
<div class='highlight'><pre> <span class="n">callbacks</span><span class="p">.</span><span class="n">credentials</span> <span class="o">=</span> <span class="n">cred_acquire_cb</span><span class="p">;</span>
- <span class="n"><a name="git_remote_set_callbacks-7" class="fnlink" href="../../#v0.20.0/group/remote/git_remote_set_callbacks">git_remote_set_callbacks</a></span><span class="p">(</span><span class="n">remote</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">callbacks</span><span class="p">);</span>
+ <span class="n">git_remote_set_callbacks</span><span class="p">(</span><span class="n">remote</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">callbacks</span><span class="p">);</span>
- <span class="n">error</span> <span class="o">=</span> <span class="n"><a name="git_remote_connect-4" class="fnlink" href="../../#v0.20.0/group/remote/git_remote_connect">git_remote_connect</a></span><span class="p">(</span><span class="n">remote</span><span class="p">,</span> <span class="n">GIT_DIRECTION_FETCH</span><span class="p">);</span>
+ <span class="n">error</span> <span class="o">=</span> <span class="n">git_remote_connect</span><span class="p">(</span><span class="n">remote</span><span class="p">,</span> <span class="n">GIT_DIRECTION_FETCH</span><span class="p">);</span>
<span class="k">if</span> <span class="p">(</span><span class="n">error</span> <span class="o">&lt;</span> <span class="mi">0</span><span class="p">)</span>
<span class="k">goto</span> <span class="n">cleanup</span><span class="p">;</span></pre></div>
</td>
@@ -111,7 +111,7 @@ each of the remote references.</p>
their name next to what they point to.</p>
</td>
<td class=code>
- <div class='highlight'><pre> <span class="k">if</span> <span class="p">(</span><span class="n"><a name="git_remote_ls-5" class="fnlink" href="../../#v0.20.0/group/remote/git_remote_ls">git_remote_ls</a></span><span class="p">(</span><span class="o">&amp;</span><span class="n">refs</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">refs_len</span><span class="p">,</span> <span class="n">remote</span><span class="p">)</span> <span class="o">&lt;</span> <span class="mi">0</span><span class="p">)</span>
+ <div class='highlight'><pre> <span class="k">if</span> <span class="p">(</span><span class="n">git_remote_ls</span><span class="p">(</span><span class="o">&amp;</span><span class="n">refs</span><span class="p">,</span> <span class="o">&amp;</span><span class="n">refs_len</span><span class="p">,</span> <span class="n">remote</span><span class="p">)</span> <span class="o">&lt;</span> <span class="mi">0</span><span class="p">)</span>
<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>
@@ -121,7 +121,7 @@ their name next to what they point to.</p>
<span class="p">}</span>
<span class="nl">cleanup</span><span class="p">:</span>
- <span class="n"><a name="git_remote_free-6" class="fnlink" href="../../#v0.20.0/group/remote/git_remote_free">git_remote_free</a></span><span class="p">(</span><span class="n">remote</span><span class="p">);</span>
+ <span class="n">git_remote_free</span><span class="p">(</span><span class="n">remote</span><span class="p">);</span>
<span class="k">return</span> <span class="n">error</span><span class="p">;</span>
<span class="p">}</span></pre></div>
</td>