Author: bdubbs
Date: Sun Jan 10 12:12:04 2021
New Revision: 24100
Log:
Minor working change to git server page
Modified:
trunk/BOOK/general/prog/gitserver.xml
Modified: trunk/BOOK/general/prog/gitserver.xml
==============================================================================
--- trunk/BOOK/general/prog/gitserver.xml Sun Jan 10 08:15:58 2021
(r24099)
+++ trunk/BOOK/general/prog/gitserver.xml Sun Jan 10 12:12:04 2021
(r24100)
@@ -322,18 +322,17 @@
<para>
GIT_BASE_DIR=<dirname>
</para>
- <para>Specify the location of the repository directory
- on which the git daemon operates on. Relative pathes
- in access to the daemon will translated to be relative
- to this directory.
+ <para>Specify the location of the git repositories.
+ Relative paths used when accessing the daemon will
+ translated relative to this directory.
</para>
</listitem>
<listitem>
<para>
DFT_REPO_DIR=<dirname>
</para>
- <para>The directory is added to the white list of allowed
- directories. This variable can hold multible directory
+ <para>This directory is added to the white list of allowed
+ directories. This variable can hold multiple directory
names but is usually set equal to
<literal>GIT_BASE_DIR</literal>.
</para>
</listitem>
@@ -341,13 +340,14 @@
<para>
GIT_DAEMON_OPTS=<options>
</para>
- <para>In case you have to pass special options to the
- <command>git daemon</command> command, they have to be
- specified in this setting. One example might be to adjust
- the port number where daemon is listening. In this case,
- add <literal>--port=<port number></literal> to this
variable.
- For more information about which options can be set, take a look
- at the output of <command>git daemon --help</command>.
+ <para>
+ In case special options to the <command>git daemon</command>
+ command are needed, they have to be specified in this setting.
+ One example might be to adjust the port number where daemon is
+ listening. In this case, add <literal>--port=<port
+ number></literal> to this variable. For more information
+ about which options can be set, take a look at the output of
+ <command>git daemon --help</command>.
</para>
</listitem>
</itemizedlist>
@@ -360,11 +360,12 @@
<screen role="nodump"><userinput>git clone
git://gitserver/project1.git</userinput></screen>
<para>
- As the basedir is <filename class="directory">/srv/git</filename> by
- default (or set to a custom value in the config),
<application>git</application>
- interprets the incoming path (/project1.git) relative to that base
- directory so that the repository in <filename
class="directory">/srv/git/project1.git</filename>
- is served.
+ As the base directory is <filename
class="directory">/srv/git</filename>
+ by default (or set to a custom value in the configuration),
+ <application>git</application> interprets the incoming path
+ (/project1.git) relative to that base directory so that the repository
+ in <filename class="directory">/srv/git/project1.git</filename> is
+ served.
</para>
</sect3>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page