Skip to content
/ diff Public

Go implementation of patience diff, LCS, and merge

License

Notifications You must be signed in to change notification settings

ktravis/diff

Repository files navigation

diff GoDoc

Go implementation of patience diff, LCS, and merge

go get github.com/ktravis/diff

Patience diff was developed by Bram Cohen, see here and here for explanations. The diffs produced are generally more human-readable, i.e.,

the patience diff:

 void func1() {
     x += 1
 }

+void functhreehalves() {
+    x += 1.5
+}
+
 void func2() {
     x += 2
 }

vs the traditional LCS-based diff:

 void func1() {
     x += 1
+}
+
+void functhreehalves() {
+    x += 1.5
 }
 
 void func2() {
     x += 2
 }

About

Go implementation of patience diff, LCS, and merge

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages