summaryrefslogtreecommitdiff
path: root/lib/git/objects/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Add support for time zone information in tags and commits.Rick Copeland2010-04-271-4/+4
| | | | | | | This commit includes - an update to git.objects.utils:parse_actor_and_date to parse the timezone offset - updates to the git.objects.Commit and git.objects.Tag objects to support *_tz_offset attributes - updates to tests in test.git.test_commit and test.git.test_refs to check for appropriate *_tz_offset attributes
* Converted all tabs to 4 space characters each to comply with pep8Sebastian Thiel2010-03-041-148/+148
|
* Traversable.traverse: Added as_edge option allowing to receive the source of ↵Sebastian Thiel2009-11-271-11/+19
| | | | the item as well to enable predicates to do more proper checking
* Fixed issue with commit traversal due to missing visit_once in the traversal ↵Sebastian Thiel2009-11-271-0/+11
| | | | method, improved code performance by disabling the visit-once flag by default for trees, which by nature are not recursive
* ItemTraversal: Predicate and prune functions now provide depth information, ↵Sebastian Thiel2009-11-271-6/+6
| | | | allowing the callee to know more about its environment
* improved performance of item traversal, its nearly as fast as it was with ↵Sebastian Thiel2009-11-271-11/+2
| | | | the first very pure implementation
* tree: added traversal method, adjusted testsSebastian Thiel2009-11-261-1/+1
| | | | Fixed critical bug in object code: IndexObjects now use their path as hashkey, not the data\!
* objects.utils: Added Traversable base and implemented it for commits ↵Sebastian Thiel2009-11-261-0/+85
| | | | including a test
* added Object.data_stream property allowing to stream object data ↵Sebastian Thiel2009-10-221-0/+18
| | | | directly.Considering the implementation of the git commnd which temporarily keeps it in a cache, it doesnt make a huge diffence as the data is kept in memory while streaming. Only good thing is that it is in a different process so python will never see it if done properly
* Object can now create objects of the proper type in case one attempts to ↵Sebastian Thiel2009-10-151-1/+0
| | | | create an object directly - this feature is used in several places now, allowing for additional type-checking
* All times are not stored as time_struct, but as simple int to consume less ↵Sebastian Thiel2009-10-151-0/+19
| | | | | | memory time imports cleaned up and mostly removed as they were not required (anymore)
* unified name of utils module, recently it was named util and utils in ↵Sebastian Thiel2009-10-131-0/+36
different packages