aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpost-receive-stagit2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-receive-stagit b/post-receive-stagit
index 3284e83..c74bdc1 100755
--- a/post-receive-stagit
+++ b/post-receive-stagit
@@ -21,6 +21,7 @@ genstagit() {
21 cp -r "$repo" "$htdir" 21 cp -r "$repo" "$htdir"
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} 25}
25 26
26cpindexfile() { 27cpindexfile() {
@@ -44,7 +45,6 @@ formatreadme() {
44 45
45adddownloadbutton() { 46adddownloadbutton() {
46 cd "$htdir" 47 cd "$htdir"
47 git archive HEAD -o "$basedir/$name.zip"
48 printf '%s\n' \ 48 printf '%s\n' \
49 "/log\.html\">Log<\/a>" i \ 49 "/log\.html\">Log<\/a>" i \
50 "<a href=\"$baseurl/$name.zip\">Download</a> |" . w \ 50 "<a href=\"$baseurl/$name.zip\">Download</a> |" . w \

Generated with cgit - Back to sebastiano.tronto.net