1
0

fix fresh install with ancient git

This commit is contained in:
Konstantin Demin 2021-03-22 11:26:45 +03:00
parent 87d9c7f978
commit ad82f32828
Signed by: krd
GPG Key ID: 1F33CB0BA4731BC6

View File

@ -41,7 +41,8 @@ dot_install() {
backup_unconditionally
git_env
mkdir -p "${GIT_DIR}"
git init -b ${gh_br}
git init
git branch -M ${gh_br} || true
git_config
git_update
}
@ -118,7 +119,7 @@ git_config() {
git_update() {
git remote update -p
git pull
git gc --aggressive --prune=all --force
git gc --aggressive --prune=all --force || git gc || true
}
tar_test() {