summaryrefslogtreecommitdiffstats
path: root/git/bin/git-repo-repack
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-31 09:20:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-31 09:20:25 +0000
commit0b5944bfd61cac36c40079493f25a83c60851503 (patch)
treee22f232b8e74ed7e6259b82f2478a0c6f86df409 /git/bin/git-repo-repack
parentAdding upstream version 20211213. (diff)
downloadopen-infrastructure-service-tools-0b5944bfd61cac36c40079493f25a83c60851503.tar.xz
open-infrastructure-service-tools-0b5944bfd61cac36c40079493f25a83c60851503.zip
Adding upstream version 20211231.upstream/20211231
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'git/bin/git-repo-repack')
-rwxr-xr-xgit/bin/git-repo-repack13
1 files changed, 10 insertions, 3 deletions
diff --git a/git/bin/git-repo-repack b/git/bin/git-repo-repack
index 58f909d..1d9d142 100755
--- a/git/bin/git-repo-repack
+++ b/git/bin/git-repo-repack
@@ -45,9 +45,16 @@ fi
for REPOSITORY in ${REPOSITORIES}
do
- [ "${QUIET}" ] || echo "================================================================================"
- [ "${QUIET}" ] || echo "${REPOSITORY}"
- [ "${QUIET}" ] || echo "================================================================================"
+ if [ "${QUIET}" != "true" ]
+ then
+
+cat << EOF
+================================================================================
+${REPOSITORY}
+================================================================================
+EOF
+
+ fi
cd "${REPOSITORY}"
git repack "${GIT_REPACK_OPTIONS}" -a -b -d -f -F