Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Migrating from Cgit to Stagit (2018) (a3nm.net)
17 points by tsujp on July 6, 2022 | hide | past | favorite | 7 comments


Very unorthodox choice of colors in the cgit-stagit mapping tables: text is yellow on light-gray background. At first I thought the tables only contained some tabbed '=>' char, which is more contrasty red.

...Maybe just me: FF on Android?


No, there was indeed a problem in the CSS, I'm not sure what happened. It is now fixed. Sorry about that!


I render git repos to static HTML files using git2html, run by a post-receive hook (there's a few versions of git2html floating around the Web, with various patches; mine fork's at https://github.com/warbo/git2html ).

Unfortunately, this can produce a lot of files (every source file at every commit; along with a "pretty" version with metadata, line numbers, etc.; a diff between each commit and its parent(s); etc.). This can take a while to generate, and wastes space, so I've hacked git2html to only render the HEAD commit ;)

The chriswarbo.net/git folder is currently offline (AWS shut down my ancient EC2 box :( ), but you can see them in the Wayback Machine, e.g. here's my git2html fork: https://web.archive.org/web/20201205084208/http://chriswarbo...

That index page is rendered by Pandoc (with a couple of custom plugins http://www.chriswarbo.net/projects/activecode ); the 'Repo' link is the cloneable URL, 'View repository' shows the git2html output, and 'View issue tracker' links to the Artemis issues (rendered via MHonArc)


I love the stagit file view, with sizes displayed as numbers of lines.


Does your nickname has a meaning or it was the shortest .net domain possible?


The nickname is related to my real name, but I'll let you guess how. ;)


Stagit does not support branches.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: