Remove unnecessary git-subtree files
Remove various files that simply duplicate functionality already provided by the main project files. Signed-off-by: David A. Greene <greened@obbligato.org>
David A. Greene committed
Apr 9, 2012 at 22:11 UTC
c96c5383ff05e58be83116f1b97bd438bffc7450
6 files changed
-143
contrib/subtree/asciidoc.conf
deleted
-91
@@ -1,91 +0,0 @@
1
-## linkgit: macro
2
-#
3
-# Usage: linkgit:command[manpage-section]
4
-#
5
-# Note, {0} is the manpage section, while {target} is the command.
6
-#
7
-# Show GIT link as: <command>(<section>); if section is defined, else just show
8
-# the command.
9
-
10
-[macros]
11
-(?su)[\\]?(?P<name>linkgit):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
12
-
13
-[attributes]
14
-asterisk=*
15
-plus=+
16
-caret=^
17
-startsb=[
18
-endsb=]
19
-tilde=~
20
-
21
-ifdef::backend-docbook[]
22
-[linkgit-inlinemacro]
23
-{0%{target}}
24
-{0#<citerefentry>}
25
-{0#<refentrytitle>{target}</refentrytitle><manvolnum>{0}</manvolnum>}
26
-{0#</citerefentry>}
27
-endif::backend-docbook[]
28
-
29
-ifdef::backend-docbook[]
30
-ifndef::git-asciidoc-no-roff[]
31
-# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this.
32
-# v1.72 breaks with this because it replaces dots not in roff requests.
33
-[listingblock]
34
-<example><title>{title}</title>
35
-<literallayout>
36
-ifdef::doctype-manpage[]
37
- .ft C
38
-endif::doctype-manpage[]
39
-|
40
-ifdef::doctype-manpage[]
41
- .ft
42
-endif::doctype-manpage[]
43
-</literallayout>
44
-{title#}</example>
45
-endif::git-asciidoc-no-roff[]
46
-
47
-ifdef::git-asciidoc-no-roff[]
48
-ifdef::doctype-manpage[]
49
-# The following two small workarounds insert a simple paragraph after screen
50
-[listingblock]
51
-<example><title>{title}</title>
52
-<literallayout>
53
-|
54
-</literallayout><simpara></simpara>
55
-{title#}</example>
56
-
57
-[verseblock]
58
-<formalpara{id? id="{id}"}><title>{title}</title><para>
59
-{title%}<literallayout{id? id="{id}"}>
60
-{title#}<literallayout>
61
-|
62
-</literallayout>
63
-{title#}</para></formalpara>
64
-{title%}<simpara></simpara>
65
-endif::doctype-manpage[]
66
-endif::git-asciidoc-no-roff[]
67
-endif::backend-docbook[]
68
-
69
-ifdef::doctype-manpage[]
70
-ifdef::backend-docbook[]
71
-[header]
72
-template::[header-declarations]
73
-<refentry>
74
-<refmeta>
75
-<refentrytitle>{mantitle}</refentrytitle>
76
-<manvolnum>{manvolnum}</manvolnum>
77
-<refmiscinfo class="source">Git</refmiscinfo>
78
-<refmiscinfo class="version">{git_version}</refmiscinfo>
79
-<refmiscinfo class="manual">Git Manual</refmiscinfo>
80
-</refmeta>
81
-<refnamediv>
82
- <refname>{manname}</refname>
83
- <refpurpose>{manpurpose}</refpurpose>
84
-</refnamediv>
85
-endif::backend-docbook[]
86
-endif::doctype-manpage[]
87
-
88
-ifdef::backend-xhtml11[]
89
-[linkgit-inlinemacro]
90
-<a href="{target}.html">{target}{0?({0})}</a>
91
-endif::backend-xhtml11[]
contrib/subtree/git-subtree
deleted
-1
@@ -1 +0,0 @@
1
-git-subtree.sh
\ No newline at end of file
contrib/subtree/install.sh
deleted
-2
@@ -1,2 +0,0 @@
1
-# copy Git to where the rest of the Git scripts are found.
2
-cp git-subtree.sh "$(git --exec-path)"/git-subtree
\ No newline at end of file
contrib/subtree/manpage-base.xsl
deleted
-35
@@ -1,35 +0,0 @@
1
-<!-- manpage-base.xsl:
2
- special formatting for manpages rendered from asciidoc+docbook -->
3
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
- version="1.0">
5
-
6
-<!-- these params silence some output from xmlto -->
7
-<xsl:param name="man.output.quietly" select="1"/>
8
-<xsl:param name="refentry.meta.get.quietly" select="1"/>
9
-
10
-<!-- convert asciidoc callouts to man page format;
11
- git.docbook.backslash and git.docbook.dot params
12
- must be supplied by another XSL file or other means -->
13
-<xsl:template match="co">
14
- <xsl:value-of select="concat(
15
- $git.docbook.backslash,'fB(',
16
- substring-after(@id,'-'),')',
17
- $git.docbook.backslash,'fR')"/>
18
-</xsl:template>
19
-<xsl:template match="calloutlist">
20
- <xsl:value-of select="$git.docbook.dot"/>
21
- <xsl:text>sp </xsl:text>
22
- <xsl:apply-templates/>
23
- <xsl:text> </xsl:text>
24
-</xsl:template>
25
-<xsl:template match="callout">
26
- <xsl:value-of select="concat(
27
- $git.docbook.backslash,'fB',
28
- substring-after(@arearefs,'-'),
29
- '. ',$git.docbook.backslash,'fR')"/>
30
- <xsl:apply-templates/>
31
- <xsl:value-of select="$git.docbook.dot"/>
32
- <xsl:text>br </xsl:text>
33
-</xsl:template>
34
-
35
-</xsl:stylesheet>
contrib/subtree/manpage-normal.xsl
deleted
-13
@@ -1,13 +0,0 @@
1
-<!-- manpage-normal.xsl:
2
- special settings for manpages rendered from asciidoc+docbook
3
- handles anything we want to keep away from docbook-xsl 1.72.0 -->
4
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5
- version="1.0">
6
-
7
-<xsl:import href="manpage-base.xsl"/>
8
-
9
-<!-- these are the normal values for the roff control characters -->
10
-<xsl:param name="git.docbook.backslash">\</xsl:param>
11
-<xsl:param name="git.docbook.dot" >.</xsl:param>
12
-
13
-</xsl:stylesheet>
contrib/subtree/shellopts.sh
deleted
-1
@@ -1 +0,0 @@
1
-export PATH=$PWD:$PATH