Compare commits
2 Commits
b12c01b3cb
...
403b8a7e6c
Author | SHA1 | Date | |
---|---|---|---|
403b8a7e6c
|
|||
8137c7efde
|
@@ -196,8 +196,9 @@ git_config() {
|
|||||||
git config --unset gc.auto || :
|
git config --unset gc.auto || :
|
||||||
git config --unset pull.ff || :
|
git config --unset pull.ff || :
|
||||||
## size optimization
|
## size optimization
|
||||||
|
git config core.bigFileThreshold 64k
|
||||||
git config core.compression 9
|
git config core.compression 9
|
||||||
git config core.looseCompression 6
|
git config core.looseCompression 8
|
||||||
git config pack.compression 9
|
git config pack.compression 9
|
||||||
git config pack.threads 2
|
git config pack.threads 2
|
||||||
## generic
|
## generic
|
||||||
|
@@ -62,3 +62,7 @@ git-archive-ref() {
|
|||||||
git archive --format=tar -o "${topdir}/${out}" --prefix="${name}-${ver}-git.${c_hash}/" "${gitref}" || return $?
|
git archive --format=tar -o "${topdir}/${out}" --prefix="${name}-${ver}-git.${c_hash}/" "${gitref}" || return $?
|
||||||
echo "archived to ${out} in ${topdir}/" >&2
|
echo "archived to ${out} in ${topdir}/" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
git-br() {
|
||||||
|
__z_git -c core.pager='cat' branch --no-abbrev "$@"
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user