From 7aea136fa9b453ed15c148844da127d937ef22e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 27 Sep 2021 15:23:33 +0200 Subject: Changing variable usage and quoting for 'git gc' options to fix git-repo-repack with newer git versions. Signed-off-by: Daniel Baumann --- git/bin/git-repo-repack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git') diff --git a/git/bin/git-repo-repack b/git/bin/git-repo-repack index 0d3c106..58f909d 100755 --- a/git/bin/git-repo-repack +++ b/git/bin/git-repo-repack @@ -51,7 +51,7 @@ do cd "${REPOSITORY}" git repack "${GIT_REPACK_OPTIONS}" -a -b -d -f -F - git gc "${GIT_GC_OPTIONS}" --aggressive --prune + git gc --aggressive --prune ${GIT_GC_OPTIONS} cd "${OLDPWD}" if [ "$(id -u)" -eq "0" ] -- cgit v1.2.3