summaryrefslogtreecommitdiff
path: root/lib/git/objects/commit.py
Commit message (Collapse)AuthorAgeFilesLines
* repo.commit_delta_base: removedSebastian Thiel2009-10-151-75/+78
|
* Added Commit.iter_parents to iterate all parentsSebastian Thiel2009-10-151-10/+32
| | | | | Renamed Commit.commits to iter_commits repo: assured proper use of the terms revision ( rev ) and reference ( ref )
* repo: removed a few methods because of redundancy or because it will be ↵Sebastian Thiel2009-10-151-10/+12
| | | | obsolete once the interface overhaul is finished. This commit is just intermediate
* All times are not stored as time_struct, but as simple int to consume less ↵Sebastian Thiel2009-10-151-22/+9
| | | | | | memory time imports cleaned up and mostly removed as they were not required (anymore)
* test_blob: removed many redundant tests that would fail now as the mock ↵Sebastian Thiel2009-10-141-4/+10
| | | | | | cannot handle the complexity of the command backend All objects but Tree now use the persistent command to read their object information - Trees get binary data and would need their own pretty-printing or they need to parse the data themselves which is my favorite
* test: Added time-consuming test which could also be a benchmark in fact - ↵Sebastian Thiel2009-10-141-2/+2
| | | | | | | currently it cause hundreds of command invocations which is slow Fixed issue with trees not properly initialized with their default mode _set_cache_: some objects checked whether the attribute was within their __slots__ although it should have been accessed through its class
* cmd: added option to return the process directly, allowing to read the ↵Sebastian Thiel2009-10-141-6/+8
| | | | | | | output directly from the output stream commit: now reads commit information directly from the output stream of the process by implementing its iterator method repo: removed log method as it was redundant ( equal to the commits method )
* added Iterable interface to Ref typeSebastian Thiel2009-10-131-1/+1
|
* renamed find_all to list_all, changed commit to use iterable interface in ↵Sebastian Thiel2009-10-131-32/+39
| | | | preparation for command changes
* refs now take repo as first argument and derive from LazyMixin to allow them ↵Sebastian Thiel2009-10-121-1/+1
| | | | | | to dynamically retrieve their objects Improved way commits are returned by refs as they now use the path to be sure they always point to the ref even if it changes - previously it would use the sha intead so it would not update after being cached on the ref object
* renamed from_string and list_from_string to _from_string and ↵Sebastian Thiel2009-10-121-6/+6
| | | | _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-0/+284