From fd2e47d44775590b4c46a4fc2f5a10a1b9dc891c Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Thu, 25 Jul 2013 15:23:04 +0200 Subject: .gitconfig: Improve display of astral Unicode symbols in diffs Thanks to @holman for the tip: https://speakerdeck.com/holman/more-git-and-github-secrets?slide=38 --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitconfig') diff --git a/.gitconfig b/.gitconfig index 409e6ab..29f4941 100644 --- a/.gitconfig +++ b/.gitconfig @@ -4,7 +4,7 @@ # View the current working tree status using the short format s = status -s # Show the diff between the latest commit and the current state - d = !"git diff-index --quiet HEAD -- || clear; git diff --patch-with-stat" + d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat" # `git di $number` shows the diff between the state `$number` revisions ago and the current state di = !"d() { git diff --patch-with-stat HEAD~$1; }; git diff-index --quiet HEAD -- || clear; d" # Pull in remote changes for the current repository and all its submodules -- cgit v1.2.3