From 94aed52e7844152eb50704852ea0b83304d6d6bb Mon Sep 17 00:00:00 2001 From: Bridget Almas Date: Tue, 27 Oct 2015 11:55:45 -0400 Subject: [PATCH] partial fix for #1? --- src/gitwrapper/utils.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gitwrapper/utils.clj b/src/gitwrapper/utils.clj index f308193..22840d0 100644 --- a/src/gitwrapper/utils.clj +++ b/src/gitwrapper/utils.clj @@ -96,7 +96,9 @@ (loop [d diff] (if (seq (rest d)) (do - (accumulate-diffs (second (second (first d))) (nth (second (first d)) 2) (conj! *diffs (first d))) + (if (= "blob" (first (second (first d)))) + (conj! *diffs (first d)) + (accumulate-diffs (second (second (first d))) (nth (second (first d)) 2) (conj! *diffs (first d)))) (recur (rest d))) (if-not (nil? (first (first d))) (if (= "blob" (first (second (first d))))