aboutsummaryrefslogtreecommitdiff
path: root/post-receive-stagit
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-11-24 00:38:02 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-11-24 00:38:02 +0100
commit07e4caa39d68d6bea50bc1314d09ca7961915556 (patch)
treecd675c18cdb83ede569c56b59972f65fe3d6a6bb /post-receive-stagit
parent8dc1fb5391f8121925c418e1d5f617fc784d1be6 (diff)
downloadgit-hooks-07e4caa39d68d6bea50bc1314d09ca7961915556.tar.gz
git-hooks-07e4caa39d68d6bea50bc1314d09ca7961915556.zip
fixed readme.md thing for sure this time
Diffstat (limited to '')
-rwxr-xr-xpost-receive-stagit2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-receive-stagit b/post-receive-stagit
index 94d5a06..99a4acd 100755
--- a/post-receive-stagit
+++ b/post-receive-stagit
@@ -22,6 +22,7 @@ genstagit() {
22 cd "$htdir" 22 cd "$htdir"
23 stagit -l 100 "$repo" 23 stagit -l 100 "$repo"
24 git archive HEAD -o "$basedir/$name.zip" 24 git archive HEAD -o "$basedir/$name.zip"
25 git show master:README.md > file/README.md
25} 26}
26 27
27cpindexfile() { 28cpindexfile() {
@@ -36,7 +37,6 @@ cpstylefiles() {
36 37
37formatreadme() { 38formatreadme() {
38 cd "$htdir" 39 cd "$htdir"
39 git show master:README.md > file/README.md
40 printf '%s\n' \ 40 printf '%s\n' \
41 g/class=\"line\"/d \ 41 g/class=\"line\"/d \
42 "/<pre id=\"blob\">" d d i "$(lowdown file/README.md)" . w \ 42 "/<pre id=\"blob\">" d d i "$(lowdown file/README.md)" . w \

Generated with cgit - Back to sebastiano.tronto.net