dot

packages and services management
Log | Files | Refs | README

commit 5683caff8b9b001edaadef3f5727779c78fc6881
parent df3520c0666b78fb4ce29955892d68623d5e69c9
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Thu, 10 Aug 2017 02:13:00 +0200

git: prettier index

Diffstat:
Mgit/.gitconfig | 3+--
Mgit/bin/git-index | 3++-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/git/.gitconfig b/git/.gitconfig @@ -3,8 +3,7 @@ name = Josuah Demangeon [alias] - graph = log --branches --remotes --decorate --tags --graph --color=never --abbrev-commit --format='%h %cd%d%n%cn <%ce>%n %s%n' - s = status -s --branch + graph = log --graph --date=short --format='%h %cd %cn <%ce>%d%n%s%n' --color=never --decorate --tags --branches --remotes [core] editor = vi diff --git a/git/bin/git-index b/git/bin/git-index @@ -67,7 +67,8 @@ cd "git/$NAME" || exit 1 printf '</pre><pre>' - git -C "$1" log --graph --date=short --format='%H %cd %cn <%ce>%n%s%n' | + git -C "$1" log --graph --date=short \ + --format='%H %cd %cn <%ce>%n%n %s%n' | sed -r ' s|&|\&amp;|g s|<|\&lt;|g