summaryrefslogtreecommitdiff
path: root/lib/git/diff.py
Commit message (Collapse)AuthorAgeFilesLines
* renamed from_string and list_from_string to _from_string and ↵Sebastian Thiel2009-10-121-1/+1
| | | | _list_from_string to indicate their new status as private method, adjusted all callers respectively
* Reorganized package structure and cleaned up importsSebastian Thiel2009-10-121-1/+1
|
* Fixed remaining tests to deal with the changesSebastian Thiel2009-10-111-0/+4
| | | | mode is now generally an int compatible to the stat module
* commit: fixed failing commit tests as the mocked git command would always ↵Sebastian Thiel2009-10-111-2/+2
| | | | | | return the same thing which does not work anymore - re-implemented it in a more dynamic manner, but in the end tests will have to be revised anyway Added slots to Diff and Stats type respectively
* converted all spaces to tabs ( 4 spaces = 1 tab ) just to allow me and my ↵Sebastian Thiel2009-10-111-70/+70
| | | | editor to work with the files properly. Can convert it back for releaes
* diff regex are now precompiled on class level, renamed a|b_blob to ↵Sebastian Thiel2009-10-091-21/+24
| | | | | | | a|b_blob_id as it better reflects the actual value actor regex now precompiled on class level blob regex now precompiled on class level; made blame method more readable and faster although it can still be improved by making assumptions about the blame format and by reading the git command stream directly ( which is a general issue right now )
* Blob|Tree: renamed 'name' member to 'path', updated tests and changelog as ↵Sebastian Thiel2009-10-091-2/+2
| | | | it would make existing code incompatible in some places
* Fixed Diff class which used Commits instead of Blobs - as Blobs contain the ↵Sebastian Thiel2009-10-081-14/+41
| | | | | | path ( in the 'name' member variable ), the a|b_path members of Diff have been removed. Tests were adjusted and run Diff docs have been updated to provide a little more information on specifics cases
* Lots of spring cleaning and added in Sphinx documentation.Michael Trier2009-01-241-1/+1
|
* Added in new properties Diff.renamed, Diff.rename_from, and Diff.rename_toMichael Trier2008-12-151-3/+8
|
* add support for parsing rename info to the diff parserPaul Sowden2008-12-151-3/+7
| | | | | Currently the parsed headers are just ignored but I'll add them to the Diff object in a future commit (cherry picked from commit 711b655f29b42821c51be8e592143c7db31ed140)
* implement a far far faster diff parserPaul Sowden2008-12-151-42/+19
| | | | | The old diff parser in list_from_string took a large amount of time to parse long diffs, on one of my repositories it took over 3 minutes to parse the initial commit. The new parser uses a single regexp to match the header of a diff, and iterates over the each individual diff by splitting the entire string by the diff seperator, attempting to match the header for each individual diff. With the new parser parsing the same repository is almost instant, woohoo! (cherry picked from commit 5b6b27f153bdc30380bea12a528ef483571dd57a)
* Fix unneeded dict unpacking.Steve Frécinaux2008-09-051-2/+2
|
* Added license information to all files.Michael Trier2008-07-161-0/+6
|
* renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed ↵Michael Trier2008-05-301-0/+79
up tests so they pass except for stderr test. Modified version information retrieval.