| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
properly
|
|
|
|
| |
whether it bakes more. This also leads to more efficient use of memory as values are only cached and set when required - the baking system does not require an own tracking variable anymore, and values are only to be cached once - then python will natively find the cache without involving any additional overhead. This works by using __getattr__ instead of __get_attribute__ which would always be called
|
| |
|
|
|
|
| |
editor to work with the files properly. Can convert it back for releaes
|
|
|
|
| |
test is in place which still fails on purpose. Need to integrate tags which can be objects or just a special form of a ref
|
|
|
|
| |
changed to allow proper rename tracking
|
|
|
|
| |
it would make existing code incompatible in some places
|
|
|
|
|
|
|
|
| |
Currently, the Tree object won't include any files that contain
whitespace. split(c, 4) can return a 5-tuple, but we want a 4-tuple
instead.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
| |
|
|
|
|
| |
(cherry picked from commit 657444d75d7b2d6913c2d491841b9bd70c8bd289)
|
|
|
|
|
| |
The imported module is called git (as in "import git"), so it's less
confusing to do so than to call everything GitPython.something.
|
|
|
|
|
| |
It is better to have an explicit list of variables for the constructors,
be it only to avoid mispelled arguments.
|
|
|
|
| |
It doesn't use an object's private contents, so let's go...
|
|
|
|
|
| |
It is rather intuitive to consider trees as a dict of objects (like
a directory could be seen as a dict of files).
|
|
|
|
|
|
|
|
|
|
|
| |
This is a simplification of the tree baking code.
As a matter of consequency, Tree.construct() and
tree.construct_initialize() have been killed, and repo.tree() has lost
the "paths" argument. This is not a problem since one can just have the
same result with:
dict(k, o for k, o in tree.items() if k in paths)
|
|
|
|
|
|
|
| |
It seems more natural to use a dictionnary for directories, since we
usually want to access them by name, and entry order is not relevant.
Also, finding a particular blob given its name is O(1) instead of O(N).
|
| |
|
| |
|
|
up tests so they pass except for stderr test. Modified version information retrieval.
|