Browse Source

Make `git k` and `git ka` pass down arguments to gitk

Alois Mahdal 10 years ago
parent
commit
84f330656c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      dotfiles/gittum/main.gitconfig

+ 2
- 2
dotfiles/gittum/main.gitconfig View File

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