Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a helper method to turn the Collection<Edit> into a patch string? #8

Open
jstrachan opened this issue Feb 18, 2013 · 0 comments
Open

Comments

@jstrachan
Copy link

I couldn't figure out how to take the results of BlobUtils.diff() and use the DiffFormatter from JGit to create a human readable textual representation of the differences.

Any chance of adding a helper method maybe? Rather than using BlobUtils.diff() I ended up snaffling some code from gitblit for now:
https://github.com/hawtio/hawtio/blob/master/hawtio-git/src/main/java/io/hawt/git/GitFacade.java#L301

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant