298b63513dbbc94f750433e79750d07d96c87d62
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
git plugin: remove `format:' from --pretty flag
Changes gke, glol and glola aliases.
Fixes #5362
Diff
1diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
2index ef7cb94b0d26076c34f2b6631f3f2d9f223b462e..6197c234bce75c491dfd4a0ee0517742273d491b 100644
3--- a/plugins/git/git.plugin.zsh
4+++ b/plugins/git/git.plugin.zsh
5@@ -161,7 +161,7 @@ compdef git-svn-dcommit-push=git
6
7 alias gk='\gitk --all --branches'
8 compdef _git gk='gitk'
9-alias gke='\gitk --all $(git log -g --pretty=format:%h)'
10+alias gke='\gitk --all $(git log -g --pretty=%h)'
11 compdef _git gke='gitk'
12
13 alias gl='git pull'
14@@ -171,8 +171,8 @@ alias glgg='git log --graph'
15 alias glgga='git log --graph --decorate --all'
16 alias glgm='git log --graph --max-count=10'
17 alias glo='git log --oneline --decorate'
18-alias glol="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
19-alias glola="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all"
20+alias glol="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
21+alias glola="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all"
22 alias glog='git log --oneline --decorate --graph'
23 alias gloga='git log --oneline --decorate --graph --all'
24 alias glp="_git_log_prettily"