summarylogtreecommitdiffstats
path: root/system-diff_highlight.patch
diff options
context:
space:
mode:
authorNarrat2016-09-09 00:39:34 +0200
committerNarrat2016-09-09 00:39:34 +0200
commit1cd2ba1e46f4e4c53a53d1f26eff117573fddc6e (patch)
treeb69549645270b0506e409a31794f9d4567b432df /system-diff_highlight.patch
parente260f2db2c95ac966c2ac408d52f1cd0e1e9f151 (diff)
downloadaur-1cd2ba1e46f4e4c53a53d1f26eff117573fddc6e.tar.gz
diff-so-fancy: Bring it on par with the repo PKGBUILD
Diffstat (limited to 'system-diff_highlight.patch')
-rw-r--r--system-diff_highlight.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/system-diff_highlight.patch b/system-diff_highlight.patch
new file mode 100644
index 000000000000..eab058f8d649
--- /dev/null
+++ b/system-diff_highlight.patch
@@ -0,0 +1,22 @@
+From 10175a16b762282acd90ee624a73b55a362fbbca Mon Sep 17 00:00:00 2001
+From: Felix Yan <felixonmars@archlinux.org>
+Date: Sun, 14 Feb 2016 17:07:07 +0800
+Subject: [PATCH] Use system git's diff_highlight
+
+---
+ diff-so-fancy | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/diff-so-fancy b/diff-so-fancy
+index b17cf29..9f62e72 100755
+--- a/diff-so-fancy
++++ b/diff-so-fancy
+@@ -19,7 +19,7 @@ hash gsed 2> /dev/null && SED=gsed || SED=sed
+ if hash diff-highlight 2> /dev/null; then
+ diff_highlight=diff-highlight
+ else
+- diff_highlight="$(get_script_dir)/third_party/diff-highlight/diff-highlight"
++ diff_highlight="/usr/share/git/diff-highlight/diff-highlight"
+ fi
+
+ CSI=$'\x1b\['