Carlos Martín Nieto
f3dab28082
diff: add old and new OID values to Hunk
...
These can be important, and are necessary to create a patch from this
data.
2012-08-15 20:37:43 +02:00
Carlos Martín Nieto
11d0c9a30f
diff: expose the hunk header
...
We can rebuild it from the data we already have, but this will allow
us to get the function headers in it once the library supports it.
2012-08-15 20:07:49 +02:00
J. David Ibáñez
edcd803e7e
Remove the __authors__ var from py files
2012-07-18 12:12:04 +02:00
J. David Ibáñez
6195491596
Add/update copyright header of each file
...
And update my email address.
2012-07-18 12:07:17 +02:00
J. David Ibáñez
ec8047a8c5
Fix errors detected by pyflakes
2012-06-18 11:36:27 -03:00
Christian Boos
38d5bf03ad
tests: new fancy asserts are for Python 2.7 only
2012-06-06 15:58:07 +02:00
Petr Hosek
d054788d19
Synchronized with upstream
2012-05-30 20:43:26 +01:00
Nico von Geyso
ade2e5812c
support for diff against workdir or index
...
Added missing support for a diff against workdir or an index.
The latter one differs from `git diff HEAD` because git itself
does a merge of workdir and index (see docs of git_diff_workdir_to_tree).
2012-05-30 07:58:31 +02:00
Petr Hosek
c06e10e67e
Support for diff merge operation added
2012-05-29 17:41:07 +01:00
Nico von Geyso
3bb00107d2
added old and new file path for hunks
2012-05-25 10:35:39 +02:00
Nico von Geyso
2a49eadc57
added some tests for diff
2012-05-24 19:10:00 +02:00