emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master c75719f 10/36: Replaced hardcoded diff with diff-command f


From: Alexey Veretennikov
Subject: [elpa] master c75719f 10/36: Replaced hardcoded diff with diff-command from diff.el
Date: Wed, 27 Jan 2016 23:50:51 +0000

branch: master
commit c75719fa136e039becf0ee055ca13d44c7ce35a2
Author: Alexey Veretennikov <address@hidden>
Commit: Alexey Veretennikov <address@hidden>

    Replaced hardcoded diff with diff-command from diff.el
---
 ztree-diff-model.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ztree-diff-model.el b/ztree-diff-model.el
index f48a785..e06e82f 100644
--- a/ztree-diff-model.el
+++ b/ztree-diff-model.el
@@ -138,7 +138,7 @@ RIGHT if only on the right side."
 Returns t if equal."
   (let* ((file1-untrampified (ztree-diff-untrampify-filename 
(ztree-diff-modef-quotify-string file1)))
          (file2-untrampified (ztree-diff-untrampify-filename 
(ztree-diff-modef-quotify-string file2)))
-         (diff-command (concat "diff -q" " " file1-untrampified " " 
file2-untrampified))
+         (diff-command (concat diff-command "-q" " " file1-untrampified " " 
file2-untrampified))
          (diff-output (shell-command-to-string diff-command)))
     (not (> (length diff-output) 2))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]