summaryrefslogtreecommitdiffstats
path: root/gitnamespaces.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-01-17 14:46:49 -0800
committerJunio C Hamano <gitster@pobox.com>2014-01-17 14:46:49 -0800
commit61525f915b47e953b4288a9afcee45e47b352214 (patch)
treef0649f89cc7a77c0296305f4673fc2bc7e0a6d54 /gitnamespaces.html
parentbc8d4783cac3c942fc9e8cf2f3eae4aea8cab5cb (diff)
downloadgit-htmldocs-61525f915b47e953b4288a9afcee45e47b352214.tar.gz
Autogenerated HTML docs for v1.9-rc0
Diffstat (limited to 'gitnamespaces.html')
-rw-r--r--gitnamespaces.html60
1 files changed, 32 insertions, 28 deletions
diff --git a/gitnamespaces.html b/gitnamespaces.html
index f3e41ca5a..1c4307e51 100644
--- a/gitnamespaces.html
+++ b/gitnamespaces.html
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.6.8" />
+<meta name="generator" content="AsciiDoc 8.6.6" />
<title>gitnamespaces(7)</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
@@ -87,15 +87,11 @@ ul, ol, li > p {
ul > li { color: #aaa; }
ul > li > * { color: black; }
-.monospaced, code, pre {
- font-family: "Courier New", Courier, monospace;
- font-size: inherit;
- color: navy;
+pre {
padding: 0;
margin: 0;
}
-
#author {
color: #527bbd;
font-weight: bold;
@@ -353,7 +349,7 @@ div.colist td img {
margin-bottom: 0.1em;
}
-div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
+div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
margin-top: 0;
margin-bottom: 0;
}
@@ -411,14 +407,18 @@ span.underline { text-decoration: underline; }
span.overline { text-decoration: overline; }
span.line-through { text-decoration: line-through; }
-div.unbreakable { page-break-inside: avoid; }
-
/*
* xhtml11 specific
*
* */
+tt {
+ font-family: monospace;
+ font-size: inherit;
+ color: navy;
+}
+
div.tableblock {
margin-top: 1.0em;
margin-bottom: 1.5em;
@@ -452,6 +452,12 @@ div.tableblock > table[frame="vsides"] {
*
* */
+.monospaced {
+ font-family: monospace;
+ font-size: inherit;
+ color: navy;
+}
+
table.tableblock {
margin-top: 1.0em;
margin-bottom: 1.5em;
@@ -531,8 +537,6 @@ body.manpage div.sectionbody {
@media print {
body.manpage div#toc { display: none; }
}
-
-
</style>
<script type="text/javascript">
/*<![CDATA[*/
@@ -577,7 +581,7 @@ toc: function (toclevels) {
function tocEntries(el, toclevels) {
var result = new Array;
- var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');
+ var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
// Function that scans the DOM tree for header elements (the DOM2
// nodeIterator API would be a better technique but not supported by all
// browsers).
@@ -606,7 +610,7 @@ toc: function (toclevels) {
var i;
for (i = 0; i < toc.childNodes.length; i++) {
var entry = toc.childNodes[i];
- if (entry.nodeName.toLowerCase() == 'div'
+ if (entry.nodeName == 'div'
&& entry.getAttribute("class")
&& entry.getAttribute("class").match(/^toclevel/))
tocEntriesToRemove.push(entry);
@@ -652,7 +656,7 @@ footnotes: function () {
var entriesToRemove = [];
for (i = 0; i < noteholder.childNodes.length; i++) {
var entry = noteholder.childNodes[i];
- if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")
+ if (entry.nodeName == 'div' && entry.getAttribute("class") == "footnote")
entriesToRemove.push(entry);
}
for (i = 0; i < entriesToRemove.length; i++) {
@@ -766,23 +770,23 @@ storing multiple branches of the same source. The alternates mechanism
provides similar support for avoiding duplicates, but alternates do not
prevent duplication between new objects added to the repositories
without ongoing maintenance, while namespaces do.</p></div>
-<div class="paragraph"><p>To specify a namespace, set the <code>GIT_NAMESPACE</code> environment variable to
+<div class="paragraph"><p>To specify a namespace, set the <tt>GIT_NAMESPACE</tt> environment variable to
the namespace. For each ref namespace, Git stores the corresponding
-refs in a directory under <code>refs/namespaces/</code>. For example,
-<code>GIT_NAMESPACE=foo</code> will store refs under <code>refs/namespaces/foo/</code>. You
-can also specify namespaces via the <code>--namespace</code> option to
+refs in a directory under <tt>refs/namespaces/</tt>. For example,
+<tt>GIT_NAMESPACE=foo</tt> will store refs under <tt>refs/namespaces/foo/</tt>. You
+can also specify namespaces via the <tt>--namespace</tt> option to
<a href="git.html">git(1)</a>.</p></div>
-<div class="paragraph"><p>Note that namespaces which include a <code>/</code> will expand to a hierarchy of
-namespaces; for example, <code>GIT_NAMESPACE=foo/bar</code> will store refs under
-<code>refs/namespaces/foo/refs/namespaces/bar/</code>. This makes paths in
-<code>GIT_NAMESPACE</code> behave hierarchically, so that cloning with
-<code>GIT_NAMESPACE=foo/bar</code> produces the same result as cloning with
-<code>GIT_NAMESPACE=foo</code> and cloning from that repo with <code>GIT_NAMESPACE=bar</code>. It
-also avoids ambiguity with strange namespace paths such as <code>foo/refs/heads/</code>,
-which could otherwise generate directory/file conflicts within the <code>refs</code>
+<div class="paragraph"><p>Note that namespaces which include a <tt>/</tt> will expand to a hierarchy of
+namespaces; for example, <tt>GIT_NAMESPACE=foo/bar</tt> will store refs under
+<tt>refs/namespaces/foo/refs/namespaces/bar/</tt>. This makes paths in
+<tt>GIT_NAMESPACE</tt> behave hierarchically, so that cloning with
+<tt>GIT_NAMESPACE=foo/bar</tt> produces the same result as cloning with
+<tt>GIT_NAMESPACE=foo</tt> and cloning from that repo with <tt>GIT_NAMESPACE=bar</tt>. It
+also avoids ambiguity with strange namespace paths such as <tt>foo/refs/heads/</tt>,
+which could otherwise generate directory/file conflicts within the <tt>refs</tt>
directory.</p></div>
<div class="paragraph"><p><a href="git-upload-pack.html">git-upload-pack(1)</a> and <a href="git-receive-pack.html">git-receive-pack(1)</a> rewrite the
-names of refs as specified by <code>GIT_NAMESPACE</code>. git-upload-pack and
+names of refs as specified by <tt>GIT_NAMESPACE</tt>. git-upload-pack and
git-receive-pack will ignore all references outside the specified
namespace.</p></div>
<div class="paragraph"><p>The smart HTTP server, <a href="git-http-backend.html">git-http-backend(1)</a>, will pass
@@ -792,7 +796,7 @@ repository namespaces as repositories.</p></div>
<div class="paragraph"><p>For a simple local test, you can use <a href="git-remote-ext.html">git-remote-ext(1)</a>:</p></div>
<div class="listingblock">
<div class="content">
-<pre><code>git clone ext::'git --namespace=foo %s /tmp/prefixed.git'</code></pre>
+<pre><tt>git clone ext::'git --namespace=foo %s /tmp/prefixed.git'</tt></pre>
</div></div>
</div>
</div>