Просмотр исходного кода

do not add txz config when xz is not available

pull/1/head
10sr 11 лет назад
Родитель
Сommit
7c005f0b80
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      setup.sh

+ 2
- 1
setup.sh Просмотреть файл

@@ -58,7 +58,8 @@ git_config(){
$_gitconfig status.relativePaths false
$_gitconfig status.showUntrackedFiles normal
$_gitconfig log.date iso
$_gitconfig tar.txz.command "xz -c"
type xz && \
$_gitconfig tar.txz.command "xz -c"

$_gitconfig alias.graph "log --graph --date-order -C -M --pretty=tformat:\"%C(green)%h%C(reset) %C(white)%ad%C(reset) %C(red)%an%C(reset)%C(yellow)%d%C(reset) %C(white bold)%s%C(reset)\" --all --date=iso -n 499"
$_gitconfig alias.st "status -s -b"


Загрузка…
Отмена
Сохранить