diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2021-09-27 13:23:33 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2021-09-28 19:12:17 +0000 |
commit | 7aea136fa9b453ed15c148844da127d937ef22e3 (patch) | |
tree | 57b59f5ebece150b7787dd9971b5ad84092b0b00 | |
parent | Releasing version 20210926. (diff) | |
download | service-tools-7aea136fa9b453ed15c148844da127d937ef22e3.tar.xz service-tools-7aea136fa9b453ed15c148844da127d937ef22e3.zip |
Changing variable usage and quoting for 'git gc' options to fix git-repo-repack with newer git versions.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rwxr-xr-x | git/bin/git-repo-repack | 2 |
1 files changed, 1 insertions, 1 deletions
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" ] |