| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
different packages
|
|
|
|
| |
Removed tests that were testing that method
|
|
|
|
|
|
| |
dict as cache is a problem as the tree is ordered, added blobs, trees and traverse method
repo: remove blob function as blobs are created directly or iterated - primitve types should not clutter the repo interface
|
| |
|
|
|
|
| |
case someone tries to access an unset path or mode - this information cannot be retrieved afterwards as IndexObject information is kept in the object that pointed at them. To find this information, one would have to search all objects which is not feasible
|
|
|
|
|
|
| |
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
|
|
|
|
| |
_list_from_string to indicate their new status as private method, adjusted all callers respectively
|
| |
|
|
|
|
| |
existance was doubtful or unsafe
|
|
|
|
| |
mode is now generally an int compatible to the stat module
|
|
|
|
|
|
| |
return the same thing which does not work anymore - re-implemented it in a more dynamic manner, but in the end tests will have to be revised anyway
Added slots to Diff and Stats type respectively
|
|
|
|
| |
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
|
|
|
|
| |
dyamically checks the existance of tags within the repository - it basically tests the interface and checks that expected return types are actually returned
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
a|b_blob_id as it better reflects the actual value
actor regex now precompiled on class level
blob regex now precompiled on class level; made blame method more readable and faster although it can still be improved by making assumptions about the blame format and by reading the git command stream directly ( which is a general issue right now )
|
| |
|
|
|
|
| |
it would make existing code incompatible in some places
|
|
|
|
| |
and very specific so it's not suited to be part of the public API
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
path ( in the 'name' member variable ), the a|b_path members of Diff have been removed. Tests were adjusted and run
Diff docs have been updated to provide a little more information on specifics cases
|
| |
| |
| |
| | |
handles this correctly
|
| |
| |
| |
| | |
individual characters
|
|\ \
| | |
| | |
| | |
| | | |
* commit 'JonNordby/master':
implemented equality operations on Commit objects
|
| |/ |
|
| | |
|
|\ \
| | |
| | |
| | | |
git://gitorious.org/git-python/mainline into integration
|
| |/
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
| |
When parsing the commit messages, preserve any blank lines that are in
the message.
Signed-off-by: Kevin McConnell <kevin.mcconnell@gmail.com>
|
| |
|
|
|
|
|
| |
This was caused by calling reverse on the list, which reverses the list in
place and returns None. We really need tests for this.
|
|
|
|
| |
(cherry picked from commit 160bd2bb74d88c110874c21635e24cc74ef58459)
|
|
|
|
| |
(cherry picked from commit 88852ed7bcde4f4b18c1ae8b6fba7f3fab8e9bf5)
|
|
|
|
|
|
|
|
|
| |
Git allows branches to be named and organized using path components, e.g using
a branch called "refactoring/feature1", which gets stored under
refs/heads/refactoring/feature1. The previous code omitted everything but the
last path component giving the name "feature1" instead of
"refactoring/feature1" for the branch. This changeset fixes that.
(cherry picked from commit dc4738bc53e580754e47037e26c7eec3047aeb69)
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Adds a summary property to the Commit object which returns just the first line of the commit message and makes the message property contain the entire commit message (previously the message property only contained the first line of the commit message). This breaks backwards compatibility a little in that the message property now contains a different value but previously there was no way to access the entire commit message from the Commit object and this is in keeping with git vocabulary, where message generally refers to the entire commit message.
(cherry picked from commit 9d2962d8306c894d4cca55bab551677b92d96352)
|
| |
| |
| |
| |
| | |
Currently the parsed headers are just ignored but I'll add them to the Diff object in a future commit
(cherry picked from commit 711b655f29b42821c51be8e592143c7db31ed140)
|