aboutsummaryrefslogtreecommitdiff
path: root/post-receive-stagit
diff options
context:
space:
mode:
Diffstat (limited to 'post-receive-stagit')
-rwxr-xr-xpost-receive-stagit1
1 files changed, 1 insertions, 0 deletions
diff --git a/post-receive-stagit b/post-receive-stagit
index bad3b68..ac4f1e3 100755
--- a/post-receive-stagit
+++ b/post-receive-stagit
@@ -19,6 +19,7 @@ genstagit() {
19 rm -rf "$htdir" 19 rm -rf "$htdir"
20 mkdir -p "$basedir" 20 mkdir -p "$basedir"
21 cp -r "$repo" "$htdir" 21 cp -r "$repo" "$htdir"
22 cd "$htdir"
22 stagit -l 100 "$repo" 23 stagit -l 100 "$repo"
23 git show master:README.md > file/README.md 24 git show master:README.md > file/README.md
24 git archive HEAD --prefix="$name/" -o "$basedir/$name.zip" 25 git archive HEAD --prefix="$name/" -o "$basedir/$name.zip"

Generated with cgit - Back to sebastiano.tronto.net