logo

utils

~/.local/bin tools and git-hooks
commit: c05c6a99a7a9588d9c5b8d27130dde5b9ad202d6
parent: a0bf4938201c4b1d1a1b4148e4db69b5eab3818f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 28 Dec 2018 21:08:45 +0100

git-hooks/post-update.stagit: Put a limit on the number of commits to display (2048)

Diffstat:

Mgit-hooks/post-update.stagit2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-hooks/post-update.stagit b/git-hooks/post-update.stagit @@ -4,7 +4,7 @@ update_f=' * Updating %s…' is_ok(){ echo ' [OK]'; } printf "$update_f" stagit -mkdir -p ${base} && cd "${base}" && stagit -c "${base}.cache" "${base}.git" && is_ok +mkdir -p ${base} && cd "${base}" && stagit -c "${base}.cache" -l 2048 "${base}.git" && is_ok printf "$update_f" stagit-index cd /git && stagit-index *.git > /git/index.html && is_ok