瀏覽代碼

do not add txz config when xz is not available

pull/1/head
10sr 11 年之前
父節點
當前提交
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"


Loading…
取消
儲存