matteosister / GitElephant

An abstraction layer for git written in PHP
GNU Lesser General Public License v3.0
613 stars 74 forks source link

preserve raw diff output #102

Open tolry opened 8 years ago

tolry commented 8 years ago

When generating a diff object, there is no way to retrieve the raw diff output from git. This can be useful, since lots of tools know how to process (unified) diff strings.

In my use case, I wanted to display a diff in HTML easily/quickly by using https://github.com/rtfpessoa/diff2html

If you like the idea I could make a PR.

GenieTim commented 6 years ago

As far as I understand, this is a requested feature, e.g. in #113 . In case you have still interest respectively still use this bundle, I will be glad to review a PR of yours