sup

A curses threads-with-tags style email client

sup-website.git

git clone https://supmua.dev/git/sup-website/
commit 8d06fa526ae2dae493e7d6393a3a391fa8e448b8
parent 9693eabacc8f7040cf15ad0644f43384f3f0834a
Author: Dan Callaghan <djc@djc.id.au>
Date:   Sun, 22 Nov 2026 16:11:50 +1100

fail stagit if I forgot to check out develop branch of sup

Diffstat:
M _plugins/stagit.rb | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/_plugins/stagit.rb b/_plugins/stagit.rb
@@ -57,6 +57,10 @@ Jekyll::Hooks.register :site, :post_write do |site|
     dest = "#{site.dest}/git/#{repo}"
     Jekyll.logger.info "Stagit:", "Processing #{repo}"
 
+    if repo == "sup"
+      raise "develop branch not checked out" if `git -C /home/dan/src/#{repo} rev-parse HEAD` != `git -C /home/dan/src/#{repo} rev-parse develop`
+    end
+
     FileUtils.mkdir_p dest
     system "cd #{dest} && stagit -b master:develop -u https://supmua.dev/git/#{repo}/ /home/dan/src/#{repo}" or raise "stagit failed"