4
I Use This!
Moderate Activity

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Feb 17, 2025 — Feb 17, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Removed blob.data property as there is no real reason for an exception to the rule of trying not to cache possibly heavy data. The data_stream method should be used instead More... over 15 years ago
Renamed modules utils to util, and errors to exc to be more conforming to the submodules's naming conventions More... over 15 years ago
Removed repo tests which for some reason left the 'repos' directory around, replaced them by a real test which actually executes code, and puts everything into the tmp directory More... over 15 years ago
Updated and fixed sphinx API docs, which included one quick skim-through More... over 15 years ago
Diff: fixed bug that caused a string to end up as a blob mode More... over 15 years ago
Fixed performance tests which broke in the course of the sha1-20 byte changes More... over 15 years ago
Merge branch 'sha20' More... over 15 years ago
All tests adjusted to work with the changed internal sha representation More... over 15 years ago
Adjusted all files to (hopefully) deal with the fact that all objects now 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 More... over 15 years ago
index.reset is now partly implemented using python, but in fact it resorts to using git-read-tree to keep the stat information when merging one tree in. After all this is what needed to be implemented in python as well More... over 15 years ago
IndexFile.add: writing of the index file can now optionally be turned off. The default is to write the physical index, which is the behaviour you would expect More... over 15 years ago
GitCmdStreamReader: fixed terrible bug which only kicked in if the stream was actually empty. This is a rare case that can happen during stream testing. Theoretically there shouldn't be any empty streams of course, but practically they do exist sometimes ;); fixed stream.seek implementation, which previously used seek on standard output Improved GitCmd error handling More... over 15 years ago
aggressive_tree_merge: fixed incorrect handling of one branch, it was just not implemented causing incorrect merge results. Added test to cover this issue Diff: added NULL_BIN_SHA constant for completeness More... over 15 years ago
Multiple partly critical bugfixes related to index handling More... over 15 years ago
Merge branch 'fromtree' More... over 15 years ago
fixed critical bug in traverse_trees_recursive, implemented IndexFile.new including simple test, it may be simple as the methods it uses are throroughly tested More... over 15 years ago
Added test for aggressive_tree_merge More... over 15 years ago
Implemented simple tree merging and a simple test, more elaborate testing is in progress More... over 15 years ago
Initial frame for implementing read_tree using pure python. As git-read-tree 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 More... over 15 years ago
Merge branch 'writetree' More... over 15 years ago
index.write_tree: now uses MemoryDB, making tree handling more efficient as IO will only be done when required. A possible disadvantage though is that time is spent on compressing the trees, although only the raw data and their shas would theoretically be needed. On the other hand, compressing their data uses less memory. An optimal implementation would just sha the data, check for existance, and compress it to write it to the database right away. This would mean more specialized code though, introducing redundancy. If IStreams would know whether they contain compressed or uncompressed data, and if there was a method to get a sha from data, this would work nicely in the existing framework though More... over 15 years ago
Tree-Writing now works after fixing an off-by-one error More... over 15 years ago
index.write_tree: initial version implemented, although its not yet working 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 More... over 15 years ago
index: put serialization methods into new 'fun' module, this makes the calls faster as it removes one level of indirection, and makes the main file smaller, improving maintainability More... over 15 years ago
index.add does not need the git clt anymore More... over 15 years ago
index: Entries are now using flags internally, instead of reducing the flag information to just the stage ( just to be closer to the git-original ) More... over 15 years ago
index.add: now uses gitdb.store functionality instead of git-hash-file. The python version is about as fast, but could support multithreading using async More... over 15 years ago
db: added pure python git database repo: now has the option to use the pure python git database implementation, which is currently not used though More... over 15 years ago
GitCmd implementation of gitdb base moved to git-python where it belongs. Previously it was located in gitdb, which doesn't have any facilities to use the git command More... over 15 years ago
Move LazyMixin type to gitdb, index reading now uses file_contents_ro from gitdb as well More... over 15 years ago