Permalink
Browse files

added function #'compute-raw-diff and exported some symbols

  • Loading branch information...
1 parent 4842dcd commit 84a195f13e761c98d770fbb08142b324f6b3bba4 @archimag archimag committed May 3, 2011
Showing with 12 additions and 1 deletion.
  1. +3 −0 diff.lisp
  2. +9 −1 package.lisp
View
@@ -241,6 +241,9 @@
(incf modified-start (snake-length snake))
(pop lcs)))))
+(defun compute-raw-diff (origin modified)
+ (convert-lcs-to-diff (compute-lcs origin modified)))
+
;;; producing diffs in "unified diff" format
View
@@ -25,4 +25,12 @@
#:window-chunks
#:chunk-kind
- #:chunk-lines))
+ #:chunk-lines
+
+ #:compute-raw-diff
+ #:common-diff-region
+ #:modified-diff-region
+ #:original-start
+ #:original-length
+ #:modified-start
+ #:modified-length))

0 comments on commit 84a195f

Please sign in to comment.