git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
c77b6de350d83fcdc5138be0c5193d34557d2b4e blob 691 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
require 'asciidoctor/extensions'

Asciidoctor::Extensions.register do

  inline_macro :linkgit do
    process do |parent, target, attrs|
      if parent.document.doctype == 'book'
        "<ulink url=\"#{target}.html\">" \
        "#{target}(#{attrs[1]})</ulink>"
      elsif parent.document.basebackend? 'html'
        prefix = parent.document.attr('git-relative-html-prefix')
        %(<a href="#{prefix}#{target}.html">#{target}(#{attrs[1]})</a>)
      elsif parent.document.basebackend? 'docbook'
        "<citerefentry>\n" \
          "<refentrytitle>#{target}</refentrytitle>" \
          "<manvolnum>#{attrs[1]}</manvolnum>\n" \
        "</citerefentry>"
      end
    end
  end

end
debug log:

solving c77b6de350 ...
found c77b6de350 in https://public-inbox.org/git/20210515115653.922902-9-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210608090026.1737348-9-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210525104802.158336-9-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210521223701.526547-9-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210621163110.1074145-9-felipe.contreras@gmail.com/
found f998a42249 in https://public-inbox.org/git/20210515115653.922902-8-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210608090026.1737348-8-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210525104802.158336-8-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210521223701.526547-8-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210621163110.1074145-8-felipe.contreras@gmail.com/
found 3dea106d00 in https://public-inbox.org/git/20210608090026.1737348-7-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210525104802.158336-7-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210521223701.526547-7-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210515115653.922902-7-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210621163110.1074145-7-felipe.contreras@gmail.com/
found 423450392d in https://public-inbox.org/git/20210515115653.922902-6-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210608090026.1737348-6-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210525104802.158336-6-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210521223701.526547-6-felipe.contreras@gmail.com/ ||
	https://public-inbox.org/git/20210621163110.1074145-6-felipe.contreras@gmail.com/
found 70a0956663 in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100644 70a09566630ce07317fd1928bce126300e0b5dc8	Documentation/asciidoctor-extensions.rb

applying [1/20] https://public-inbox.org/git/20210515115653.922902-6-felipe.contreras@gmail.com/
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index 70a0956663..423450392d 100644

Checking patch Documentation/asciidoctor-extensions.rb...
Applied patch Documentation/asciidoctor-extensions.rb cleanly.

skipping https://public-inbox.org/git/20210608090026.1737348-6-felipe.contreras@gmail.com/ for 423450392d
skipping https://public-inbox.org/git/20210525104802.158336-6-felipe.contreras@gmail.com/ for 423450392d
skipping https://public-inbox.org/git/20210521223701.526547-6-felipe.contreras@gmail.com/ for 423450392d
skipping https://public-inbox.org/git/20210621163110.1074145-6-felipe.contreras@gmail.com/ for 423450392d
index at:
100644 423450392d24c70dafe3f412df1004d098c7a847	Documentation/asciidoctor-extensions.rb

applying [2/20] https://public-inbox.org/git/20210608090026.1737348-7-felipe.contreras@gmail.com/
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index 423450392d..3dea106d00 100644

Checking patch Documentation/asciidoctor-extensions.rb...
Applied patch Documentation/asciidoctor-extensions.rb cleanly.

skipping https://public-inbox.org/git/20210525104802.158336-7-felipe.contreras@gmail.com/ for 3dea106d00
skipping https://public-inbox.org/git/20210521223701.526547-7-felipe.contreras@gmail.com/ for 3dea106d00
skipping https://public-inbox.org/git/20210515115653.922902-7-felipe.contreras@gmail.com/ for 3dea106d00
skipping https://public-inbox.org/git/20210621163110.1074145-7-felipe.contreras@gmail.com/ for 3dea106d00
index at:
100644 3dea106d00385ee51649647d5fc5321d45249ec2	Documentation/asciidoctor-extensions.rb

applying [3/20] https://public-inbox.org/git/20210515115653.922902-8-felipe.contreras@gmail.com/
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index 3dea106d00..f998a42249 100644

Checking patch Documentation/asciidoctor-extensions.rb...
Applied patch Documentation/asciidoctor-extensions.rb cleanly.

skipping https://public-inbox.org/git/20210608090026.1737348-8-felipe.contreras@gmail.com/ for f998a42249
skipping https://public-inbox.org/git/20210525104802.158336-8-felipe.contreras@gmail.com/ for f998a42249
skipping https://public-inbox.org/git/20210521223701.526547-8-felipe.contreras@gmail.com/ for f998a42249
skipping https://public-inbox.org/git/20210621163110.1074145-8-felipe.contreras@gmail.com/ for f998a42249
index at:
100644 f998a42249a0e6e04243377edafc634d47ed5d5f	Documentation/asciidoctor-extensions.rb

applying [4/20] https://public-inbox.org/git/20210515115653.922902-9-felipe.contreras@gmail.com/
diff --git a/Documentation/asciidoctor-extensions.rb b/Documentation/asciidoctor-extensions.rb
index f998a42249..c77b6de350 100644

Checking patch Documentation/asciidoctor-extensions.rb...
Applied patch Documentation/asciidoctor-extensions.rb cleanly.

skipping https://public-inbox.org/git/20210608090026.1737348-9-felipe.contreras@gmail.com/ for c77b6de350
skipping https://public-inbox.org/git/20210525104802.158336-9-felipe.contreras@gmail.com/ for c77b6de350
skipping https://public-inbox.org/git/20210521223701.526547-9-felipe.contreras@gmail.com/ for c77b6de350
skipping https://public-inbox.org/git/20210621163110.1074145-9-felipe.contreras@gmail.com/ for c77b6de350
index at:
100644 c77b6de350d83fcdc5138be0c5193d34557d2b4e	Documentation/asciidoctor-extensions.rb

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).