summaryrefslogtreecommitdiff
path: root/lib/git/index.py
Commit message (Collapse)AuthorAgeFilesLines
* index.commit: implemented initial version, but in fact some more changes are ↵Sebastian Thiel2009-10-241-9/+35
| | | | required to have a nice API. Tests are not yet fully done either
* index.remove implemented including throrough testSebastian Thiel2009-10-231-21/+131
|
* Implemented index.reset method including testSebastian Thiel2009-10-231-4/+16
|
* IndexEntry is now based on a 'minimal' version that is suitable to be fed ↵Sebastian Thiel2009-10-231-52/+69
| | | | into UpdateIndex. The Inode and device information is only needed to quickly compare the index against the working tree for changes, hence it should not be that dominant in the API either. More changes to come
* Added frame for IndexFile add/remove/commit methods and respective test markersSebastian Thiel2009-10-231-4/+114
|
* Added repo.index property including simple test, and additional ideas in the ↵Sebastian Thiel2009-10-231-2/+6
| | | | TODO list
* Renamed Index to IndexFile, adjusted tests, it will only operate on physical ↵Sebastian Thiel2009-10-231-101/+49
| | | | files, not on streams, as Indices are not streamed by any git command ( at least not in raw format )
* Index: Is now diffable and appears to properly implement diffing against ↵Sebastian Thiel2009-10-221-4/+68
| | | | | | | other items as well as the working tree Diff.Diffable: added callback allowing superclasses to preprocess diff arguments Diff.Diff: added eq, ne and hash methods, string methods would be nice
* default index writing now writes the index of the current repository in a ↵Sebastian Thiel2009-10-221-6/+21
| | | | fashion comparable to the native implementation
* Index now behaves more like the default index if no explicit stream is ↵Sebastian Thiel2009-10-221-8/+21
| | | | given. It will lazily read its data on first access
* index writing now creates a sha on the content making it possible to write ↵Sebastian Thiel2009-10-221-3/+19
| | | | valid indices after manually removing or altering entriesgst
* Implemented merge/resolve handling , but realized that index writing is not ↵Sebastian Thiel2009-10-221-4/+74
| | | | yet working properly as it is sha1 checked as well. This explains what my 20 byte 'extension_data' actually is ;)
* index: Added write_tree method including testSebastian Thiel2009-10-211-12/+41
|
* index.iter_blobs method added including tests ( which have been improved ↵Sebastian Thiel2009-10-211-8/+52
| | | | generally for more coverage )
* tree.traverse: Added prune functionality - previously the predciate did ↵Sebastian Thiel2009-10-211-1/+5
| | | | both, pruning and preventing to return items
* Improved testing of index against trees, tests succeed with next commitSebastian Thiel2009-10-211-1/+1
|
* Initial version of merge including tests for one-way, two-way and tree-way mergeSebastian Thiel2009-10-211-3/+78
|
* index writing added including simple test, improved docs of IndexEntrySebastian Thiel2009-10-211-25/+127
|
* improved IndexEntry type and added test for parsing of the stageSebastian Thiel2009-10-201-4/+4
|
* Improved tuple access of EntryIndex class including test, stage and type ↵Sebastian Thiel2009-10-201-0/+55
| | | | access still needs to be decoded though
* Added initial version of the index reading from file - IndexEntry interface ↵Sebastian Thiel2009-10-201-1/+99
| | | | is to be improved though, writing needs to be implemented as well
* Added frame for index implementation and testingSebastian Thiel2009-10-201-0/+17