From 468f99adfe05df6c575f32519465d6dcce3fe639 Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Mon, 9 Apr 2018 12:07:37 -0500 Subject: [PATCH] [git] Remove extra line break from graph logs so we have more vertical space for the actual log entries, instead of having each one separated by a line just with graph lines. Also, this is the default layout already, see `git log --graph --oneline` for example. --- modules/git/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/git/init.zsh b/modules/git/init.zsh index 0b35075..8d3072e 100644 --- a/modules/git/init.zsh +++ b/modules/git/init.zsh @@ -97,8 +97,8 @@ alias gls='git log --topo-order --stat --pretty=format:"${_git_log_medium_format alias gld='git log --topo-order --stat --patch --full-diff --pretty=format:"${_git_log_medium_format}"' alias glo='git log --topo-order --pretty=format:"${_git_log_oneline_format}"' alias glO='git log --topo-order --pretty=format:"${_git_log_oneline_medium_format}"' -alias glg='git log --topo-order --all --graph --pretty=format:"${_git_log_oneline_format}%n"' -alias glG='git log --topo-order --all --graph --pretty=format:"${_git_log_oneline_medium_format}%n"' +alias glg='git log --topo-order --all --graph --pretty=format:"${_git_log_oneline_format}"' +alias glG='git log --topo-order --all --graph --pretty=format:"${_git_log_oneline_medium_format}"' alias glv='git log --topo-order --show-signature --pretty=format:"${_git_log_medium_format}"' alias glc='git shortlog --summary --numbered'