Преглед изворни кода

Avoid unnecessarily complex git macro for 'git k'

Alois Mahdal пре 10 месеци
родитељ
комит
f44a848589
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      dotfiles/config/gittum/main.gitconfig

+ 2
- 2
dotfiles/config/gittum/main.gitconfig Прегледај датотеку

32
         --pretty=tformat:"%x1b[31m%h%x20%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
32
         --pretty=tformat:"%x1b[31m%h%x20%x1b[32m%d%x1b[0m%x20%s%x1b[0m"\
33
         --simplify-by-decoration
33
         --simplify-by-decoration
34
   k = !sh -c \
34
   k = !sh -c \
35
-      '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk $@' --
35
+      'gitk $@' --
36
   ka = !sh -c \
36
   ka = !sh -c \
37
-       '(which gitk >/dev/null || (echo "gitk not installed" && false)) && gitk $@ --all' --
37
+       'gitk $@ --all' --
38
   rb = rebase
38
   rb = rebase
39
   rbc = rebase --continue
39
   rbc = rebase --continue
40
   rbi = rebase --interactive
40
   rbi = rebase --interactive