branch: master
commit c75719fa136e039becf0ee055ca13d44c7ce35a2
Author: Alexey Veretennikov <txm.four...@gmail.com>
Commit: Alexey Veretennikov <alexey.veretenni...@afconsult.com>

    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