summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2016-09-05 10:54:15 +0200
committerMarc Cornellà <marc.cornella@live.com>2016-09-05 10:56:18 +0200
commit298b63513dbbc94f750433e79750d07d96c87d62 (patch)
tree49a30d0f341a47c8beaccc5db178120eb7df4735
parent2c9d8310e4142ba7f22692b47c7843582d50a01e (diff)
downloadzsh-298b63513dbbc94f750433e79750d07d96c87d62.tar.gz
zsh-298b63513dbbc94f750433e79750d07d96c87d62.tar.bz2
zsh-298b63513dbbc94f750433e79750d07d96c87d62.zip
git plugin: remove `format:' from --pretty flag
Changes gke, glol and glola aliases. Fixes #5362
-rw-r--r--plugins/git/git.plugin.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index ef7cb94b0..6197c234b 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -161,7 +161,7 @@ compdef git-svn-dcommit-push=git
alias gk='\gitk --all --branches'
compdef _git gk='gitk'
-alias gke='\gitk --all $(git log -g --pretty=format:%h)'
+alias gke='\gitk --all $(git log -g --pretty=%h)'
compdef _git gke='gitk'
alias gl='git pull'
@@ -171,8 +171,8 @@ alias glgg='git log --graph'
alias glgga='git log --graph --decorate --all'
alias glgm='git log --graph --max-count=10'
alias glo='git log --oneline --decorate'
-alias glol="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
-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"
+alias glol="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
+alias glola="git log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all"
alias glog='git log --oneline --decorate --graph'
alias gloga='git log --oneline --decorate --graph --all'
alias glp="_git_log_prettily"