sup

A curses threads-with-tags style email client

sup-website.git

git clone https://supmua.dev/git/sup-website/
commit 4e7b8fbbbb7fb11ca644a0db175459af71275649
parent ba5834b878ec1f017c940dc1174e58e0094d2ecd
Author: Dan Callaghan <djc@djc.id.au>
Date:   Fri,  3 Apr 2026 19:06:38 +1100

only linkify issues in sup.git, not other repos

sup-colors.git has a few references to merged PR numbers, which are not
Sup issues.

Diffstat:
M _plugins/stagit.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_plugins/stagit.rb b/_plugins/stagit.rb
@@ -38,7 +38,7 @@ def wrap_stagit_output path, header
     ## Turn issue references into links
     html = html.gsub(/(?<=^|\s)#(\d+)\b/) do |match|
       "<a href=\"https://github.com/sup-heliotrope/sup/issues/#{$1}\">#{$&}</a>"
-    end
+    end if path.include? "/sup/"
     ## Turn commit references into links
     html = html.gsub(/(?<=[Cc]ommit )([0-9a-f]+)\b/) do |match|
       href = Dir.new(File.dirname(path)).each_child.find { |fn| fn.start_with? $& }