config.txt: move gitcvs part out to a separate file

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Nguyễn Thái Ngọc Duy committed Aug 22, 2018 at 18:05 UTC 3d28c3d8b30f25c0a69d38dcfdcf2f3a09d1ca8f
2 files changed +68 -67
Documentation/config.txt
+1 -67
@@ -1684,73 +1684,7 @@ gc.rerereUnresolved::
1684 You can also use more human-readable "1.month.ago", etc.
1685 The default is 15 days. See linkgit:git-rerere[1].
1686
1687 -gitcvs.commitMsgAnnotation::
1688 - Append this string to each commit message. Set to empty string
1689 - to disable this feature. Defaults to "via git-CVS emulator".
1690 -
1691 -gitcvs.enabled::
1692 - Whether the CVS server interface is enabled for this repository.
1693 - See linkgit:git-cvsserver[1].
1694 -
1695 -gitcvs.logFile::
1696 - Path to a log file where the CVS server interface well... logs
1697 - various stuff. See linkgit:git-cvsserver[1].
1698 -
1699 -gitcvs.usecrlfattr::
1700 - If true, the server will look up the end-of-line conversion
1701 - attributes for files to determine the `-k` modes to use. If
1702 - the attributes force Git to treat a file as text,
1703 - the `-k` mode will be left blank so CVS clients will
1704 - treat it as text. If they suppress text conversion, the file
1705 - will be set with '-kb' mode, which suppresses any newline munging
1706 - the client might otherwise do. If the attributes do not allow
1707 - the file type to be determined, then `gitcvs.allBinary` is
1708 - used. See linkgit:gitattributes[5].
1709 -
1710 -gitcvs.allBinary::
1711 - This is used if `gitcvs.usecrlfattr` does not resolve
1712 - the correct '-kb' mode to use. If true, all
1713 - unresolved files are sent to the client in
1714 - mode '-kb'. This causes the client to treat them
1715 - as binary files, which suppresses any newline munging it
1716 - otherwise might do. Alternatively, if it is set to "guess",
1717 - then the contents of the file are examined to decide if
1718 - it is binary, similar to `core.autocrlf`.
1719 -
1720 -gitcvs.dbName::
1721 - Database used by git-cvsserver to cache revision information
1722 - derived from the Git repository. The exact meaning depends on the
1723 - used database driver, for SQLite (which is the default driver) this
1724 - is a filename. Supports variable substitution (see
1725 - linkgit:git-cvsserver[1] for details). May not contain semicolons (`;`).
1726 - Default: '%Ggitcvs.%m.sqlite'
1727 -
1728 -gitcvs.dbDriver::
1729 - Used Perl DBI driver. You can specify any available driver
1730 - for this here, but it might not work. git-cvsserver is tested
1731 - with 'DBD::SQLite', reported to work with 'DBD::Pg', and
1732 - reported *not* to work with 'DBD::mysql'. Experimental feature.
1733 - May not contain double colons (`:`). Default: 'SQLite'.
1734 - See linkgit:git-cvsserver[1].
1735 -
1736 -gitcvs.dbUser, gitcvs.dbPass::
1737 - Database user and password. Only useful if setting `gitcvs.dbDriver`,
1738 - since SQLite has no concept of database users and/or passwords.
1739 - 'gitcvs.dbUser' supports variable substitution (see
1740 - linkgit:git-cvsserver[1] for details).
1741 -
1742 -gitcvs.dbTableNamePrefix::
1743 - Database table name prefix. Prepended to the names of any
1744 - database tables used, allowing a single database to be used
1745 - for several repositories. Supports variable substitution (see
1746 - linkgit:git-cvsserver[1] for details). Any non-alphabetic
1747 - characters will be replaced with underscores.
1748 -
1749 -All gitcvs variables except for `gitcvs.usecrlfattr` and
1750 -`gitcvs.allBinary` can also be specified as
1751 -'gitcvs.<access_method>.<varname>' (where 'access_method'
1752 -is one of "ext" and "pserver") to make them apply only for the given
1753 -access method.
1687 +include::gitcvs-config.txt[]
1688
1689 gitweb.category::
1690 gitweb.description::
Documentation/gitcvs-config.txt new
+67
@@ -0,0 +1,67 @@
1 +gitcvs.commitMsgAnnotation::
2 + Append this string to each commit message. Set to empty string
3 + to disable this feature. Defaults to "via git-CVS emulator".
4 +
5 +gitcvs.enabled::
6 + Whether the CVS server interface is enabled for this repository.
7 + See linkgit:git-cvsserver[1].
8 +
9 +gitcvs.logFile::
10 + Path to a log file where the CVS server interface well... logs
11 + various stuff. See linkgit:git-cvsserver[1].
12 +
13 +gitcvs.usecrlfattr::
14 + If true, the server will look up the end-of-line conversion
15 + attributes for files to determine the `-k` modes to use. If
16 + the attributes force Git to treat a file as text,
17 + the `-k` mode will be left blank so CVS clients will
18 + treat it as text. If they suppress text conversion, the file
19 + will be set with '-kb' mode, which suppresses any newline munging
20 + the client might otherwise do. If the attributes do not allow
21 + the file type to be determined, then `gitcvs.allBinary` is
22 + used. See linkgit:gitattributes[5].
23 +
24 +gitcvs.allBinary::
25 + This is used if `gitcvs.usecrlfattr` does not resolve
26 + the correct '-kb' mode to use. If true, all
27 + unresolved files are sent to the client in
28 + mode '-kb'. This causes the client to treat them
29 + as binary files, which suppresses any newline munging it
30 + otherwise might do. Alternatively, if it is set to "guess",
31 + then the contents of the file are examined to decide if
32 + it is binary, similar to `core.autocrlf`.
33 +
34 +gitcvs.dbName::
35 + Database used by git-cvsserver to cache revision information
36 + derived from the Git repository. The exact meaning depends on the
37 + used database driver, for SQLite (which is the default driver) this
38 + is a filename. Supports variable substitution (see
39 + linkgit:git-cvsserver[1] for details). May not contain semicolons (`;`).
40 + Default: '%Ggitcvs.%m.sqlite'
41 +
42 +gitcvs.dbDriver::
43 + Used Perl DBI driver. You can specify any available driver
44 + for this here, but it might not work. git-cvsserver is tested
45 + with 'DBD::SQLite', reported to work with 'DBD::Pg', and
46 + reported *not* to work with 'DBD::mysql'. Experimental feature.
47 + May not contain double colons (`:`). Default: 'SQLite'.
48 + See linkgit:git-cvsserver[1].
49 +
50 +gitcvs.dbUser, gitcvs.dbPass::
51 + Database user and password. Only useful if setting `gitcvs.dbDriver`,
52 + since SQLite has no concept of database users and/or passwords.
53 + 'gitcvs.dbUser' supports variable substitution (see
54 + linkgit:git-cvsserver[1] for details).
55 +
56 +gitcvs.dbTableNamePrefix::
57 + Database table name prefix. Prepended to the names of any
58 + database tables used, allowing a single database to be used
59 + for several repositories. Supports variable substitution (see
60 + linkgit:git-cvsserver[1] for details). Any non-alphabetic
61 + characters will be replaced with underscores.
62 +
63 +All gitcvs variables except for `gitcvs.usecrlfattr` and
64 +`gitcvs.allBinary` can also be specified as
65 +'gitcvs.<access_method>.<varname>' (where 'access_method'
66 +is one of "ext" and "pserver") to make them apply only for the given
67 +access method.