summaryrefslogtreecommitdiff
path: root/lib/git/index/fun.py
Commit message (Collapse)AuthorAgeFilesLines
* moved all contents, incl. submodule gitdb, up to the root directorySebastian Thiel2010-11-211-323/+0
|
* Inital implementation of Submodule.move including a very simple and ↵Sebastian Thiel2010-11-171-1/+2
| | | | to-be-improved test
* index: Sped up reading and writing of the index file by reducing the amount ↵Sebastian Thiel2010-11-171-36/+32
| | | | of attribute lookups considerably
* BaseIndexEntry: Added to_blob method, refactored functionality sligthlySebastian Thiel2010-07-201-2/+25
| | | | repo.clone: assured backslashes won't reach the remote configuration, as it can cause trouble when re-reading the file later on. Some git commands don't appear to be able to properly deal with backslashes, other's do
* Fixed the missing Repo type documentation thanks to a hint of gasche, fixed ↵Sebastian Thiel2010-07-141-0/+2
| | | | a few more resT syntax errors on the way
* Renamed modules utils to util, and errors to exc to be more conforming to ↵Sebastian Thiel2010-06-291-2/+2
| | | | the submodules's naming conventions
* Updated and fixed sphinx API docs, which included one quick skim-throughSebastian Thiel2010-06-291-1/+3
|
* Adjusted all files to (hopefully) deal with the fact that all objects now ↵Sebastian Thiel2010-06-251-1/+1
| | | | | | | use 20 byte sha's internally as it is closer to the GitDB implementation Switched all remaining files back to tabs Adjusted all remaining docstrings to suit the sphinx doc convention - its likely that there are many of docstring syntax errors though
* aggressive_tree_merge: fixed incorrect handling of one branch, it was just ↵Sebastian Thiel2010-06-241-1/+10
| | | | | | not implemented causing incorrect merge results. Added test to cover this issue Diff: added NULL_BIN_SHA constant for completeness
* fixed critical bug in traverse_trees_recursive, implemented IndexFile.new ↵Sebastian Thiel2010-06-231-5/+6
| | | | including simple test, it may be simple as the methods it uses are throroughly tested
* Added test for aggressive_tree_mergeSebastian Thiel2010-06-231-64/+65
|
* Implemented simple tree merging and a simple test, more elaborate testing is ↵Sebastian Thiel2010-06-231-8/+78
| | | | in progress
* Initial frame for implementing read_tree using pure python. As git-read-tree ↵Sebastian Thiel2010-06-221-4/+25
| | | | | | | can do much more than we can ( and faster assumably ), the .new method is used to create new index instances from up to 3 trees. Implemented multi-tree traversal to facilitate building a stage list more efficiently ( although I am not sure whether it could be faster to use a dictionary together with some intensive lookup ), including test Added performance to learn how fast certain operations are, and whether one should be preferred over another
* Tree-Writing now works after fixing an off-by-one errorSebastian Thiel2010-06-221-2/+2
|
* index.write_tree: initial version implemented, although its not yet working ↵Sebastian Thiel2010-06-221-7/+66
| | | | | | | correctly, a test to explicitly compare the git version with the python implementation is still missing Tree and Index internally use 20 byte shas, converting them only as needed to reduce memory footprint and processing time objects: started own 'fun' module containing the most important tree functions, more are likely to be added soon
* index: put serialization methods into new 'fun' module, this makes the calls ↵Sebastian Thiel2010-06-211-0/+138
faster as it removes one level of indirection, and makes the main file smaller, improving maintainability