Skip to content

A clone of the git diff tool in Python using the Myers Difference algorithm

License

Notifications You must be signed in to change notification settings

DHDaniel/git-diff-clone

Repository files navigation

Python git diff clone

This project is an implementation of the git diff tool in Python using the Myers Difference algorithm.

Usage

Once you clone the repository on your machine, you can run the following command:

$ python diff.py fileA fileB

This will show the diff script to go from file A to file B. You can test out the command with the test1.txt and test2.txt files included in the repository.

To have the command available at all times, make sure the script diff.py is executable and then include it in your $PATH.

Analysis

For an extended analysis, refer to the PDF in this repo titled "The Myers Difference Algorithm for Version Control Systems".

About

A clone of the git diff tool in Python using the Myers Difference algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages