From c96c5383ff05e58be83116f1b97bd438bffc7450 Mon Sep 17 00:00:00 2001 From: "David A. Greene" Date: Mon, 9 Apr 2012 22:11:25 -0500 Subject: [PATCH] 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 --- contrib/subtree/asciidoc.conf | 91 ------------------------------ contrib/subtree/git-subtree | 1 - contrib/subtree/install.sh | 2 - contrib/subtree/manpage-base.xsl | 35 ------------ contrib/subtree/manpage-normal.xsl | 13 ----- contrib/subtree/shellopts.sh | 1 - 6 files changed, 143 deletions(-) delete mode 100644 contrib/subtree/asciidoc.conf delete mode 120000 contrib/subtree/git-subtree delete mode 100644 contrib/subtree/install.sh delete mode 100644 contrib/subtree/manpage-base.xsl delete mode 100644 contrib/subtree/manpage-normal.xsl delete mode 100644 contrib/subtree/shellopts.sh diff --git a/contrib/subtree/asciidoc.conf b/contrib/subtree/asciidoc.conf deleted file mode 100644 index dc76e7f07..000000000 --- a/contrib/subtree/asciidoc.conf +++ /dev/null @@ -1,91 +0,0 @@ -## linkgit: macro -# -# Usage: linkgit:command[manpage-section] -# -# Note, {0} is the manpage section, while {target} is the command. -# -# Show GIT link as: (
); if section is defined, else just show -# the command. - -[macros] -(?su)[\\]?(?Plinkgit):(?P\S*?)\[(?P.*?)\]= - -[attributes] -asterisk=* -plus=+ -caret=^ -startsb=[ -endsb=] -tilde=~ - -ifdef::backend-docbook[] -[linkgit-inlinemacro] -{0%{target}} -{0#} -{0#{target}{0}} -{0#} -endif::backend-docbook[] - -ifdef::backend-docbook[] -ifndef::git-asciidoc-no-roff[] -# "unbreak" docbook-xsl v1.68 for manpages. v1.69 works with or without this. -# v1.72 breaks with this because it replaces dots not in roff requests. -[listingblock] -{title} - -ifdef::doctype-manpage[] - .ft C -endif::doctype-manpage[] -| -ifdef::doctype-manpage[] - .ft -endif::doctype-manpage[] - -{title#} -endif::git-asciidoc-no-roff[] - -ifdef::git-asciidoc-no-roff[] -ifdef::doctype-manpage[] -# The following two small workarounds insert a simple paragraph after screen -[listingblock] -{title} - -| - -{title#} - -[verseblock] -{title} -{title%} -{title#} -| - -{title#} -{title%} -endif::doctype-manpage[] -endif::git-asciidoc-no-roff[] -endif::backend-docbook[] - -ifdef::doctype-manpage[] -ifdef::backend-docbook[] -[header] -template::[header-declarations] - - -{mantitle} -{manvolnum} -Git -{git_version} -Git Manual - - - {manname} - {manpurpose} - -endif::backend-docbook[] -endif::doctype-manpage[] - -ifdef::backend-xhtml11[] -[linkgit-inlinemacro] -{target}{0?({0})} -endif::backend-xhtml11[] diff --git a/contrib/subtree/git-subtree b/contrib/subtree/git-subtree deleted file mode 120000 index 7d7539894..000000000 --- a/contrib/subtree/git-subtree +++ /dev/null @@ -1 +0,0 @@ -git-subtree.sh \ No newline at end of file diff --git a/contrib/subtree/install.sh b/contrib/subtree/install.sh deleted file mode 100644 index 1f87a6243..000000000 --- a/contrib/subtree/install.sh +++ /dev/null @@ -1,2 +0,0 @@ -# copy Git to where the rest of the Git scripts are found. -cp git-subtree.sh "$(git --exec-path)"/git-subtree \ No newline at end of file diff --git a/contrib/subtree/manpage-base.xsl b/contrib/subtree/manpage-base.xsl deleted file mode 100644 index a264fa616..000000000 --- a/contrib/subtree/manpage-base.xsl +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - sp - - - - - - - - br - - - diff --git a/contrib/subtree/manpage-normal.xsl b/contrib/subtree/manpage-normal.xsl deleted file mode 100644 index a48f5b11f..000000000 --- a/contrib/subtree/manpage-normal.xsl +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - -\ -. - - diff --git a/contrib/subtree/shellopts.sh b/contrib/subtree/shellopts.sh deleted file mode 100644 index 42644cd01..000000000 --- a/contrib/subtree/shellopts.sh +++ /dev/null @@ -1 +0,0 @@ -export PATH=$PWD:$PATH -- 2.30.2