summaryrefslogtreecommitdiff
path: root/lib/git/refs.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs are now truly dynamic - this costs a little bit of (persistent command) ↵Sebastian Thiel2009-10-141-14/+13
| | | | work, but assures refs behave as expected
* persistent command signature changed to also return the hexsha from a ↵Sebastian Thiel2009-10-141-5/+8
| | | | possible input ref - the objects pointed to by refs are now baked on demand - perhaps it should change to always be re-retrieved using a property as it is relatively fast - this way refs can always be cached
* test_blob: removed many redundant tests that would fail now as the mock ↵Sebastian Thiel2009-10-141-5/+12
| | | | | | 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
* added Iterable interface to Ref typeSebastian Thiel2009-10-131-12/+12
|
* renamed find_all to list_all, changed commit to use iterable interface in ↵Sebastian Thiel2009-10-131-8/+8
| | | | preparation for command changes
* unified name of utils module, recently it was named util and utils in ↵Sebastian Thiel2009-10-131-1/+1
| | | | different packages
* refs now take repo as first argument and derive from LazyMixin to allow them ↵Sebastian Thiel2009-10-121-53/+41
| | | | | | 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-4/+4
| | | | _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/+241