From d6b590ea24317868e52e79d538ed2ebcba83fc76 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 1 Nov 2009 01:57:27 +0100 Subject: [PATCH] daemons/gc,update: Nicer progress prints --- daemons/gc.sh | 4 ++-- daemons/update.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/daemons/gc.sh b/daemons/gc.sh index 093b6e2..d8ce17d 100755 --- a/daemons/gc.sh +++ b/daemons/gc.sh @@ -7,7 +7,7 @@ set -e proj="$1" cd "$cfg_reporoot/$proj.git" -progress "+ `date` garbage check: $proj" +progress "+ [$proj] garbage check (`date`)" # safe pruning: we put all our objects to all forks, then we can # safely get rid of extra ones; repacks in forks will get rid of @@ -31,4 +31,4 @@ git prune git update-server-info config_set lastgc "$(date -R)" -progress "- `date` garbage check: $proj" +progress "- [$proj] garbage check (`date`)" diff --git a/daemons/update.sh b/daemons/update.sh index 45e9192..346d78e 100755 --- a/daemons/update.sh +++ b/daemons/update.sh @@ -7,7 +7,7 @@ set -e proj="$1" cd "$cfg_reporoot/$proj.git" -progress "+ `date` update: $proj" +progress "+ [$proj] update (`date`)" bang_setup bang_once=1 @@ -35,4 +35,4 @@ if [ -e .banged ]; then rm .banged fi -progress "- `date` update: $proj" +progress "- [$proj] update (`date`)" -- 2.11.4.GIT