aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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