summaryrefslogtreecommitdiff
path: root/lib/git/commit.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed remaining tests to deal with the changesSebastian Thiel2009-10-111-6/+6
| | | | mode is now generally an int compatible to the stat module
* commit: fixed failing commit tests as the mocked git command would always ↵Sebastian Thiel2009-10-111-6/+9
| | | | | | 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
* lazymixin system now supports per-attribute baking, it is up to the class ↵Sebastian Thiel2009-10-111-41/+28
| | | | 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
* converted all spaces to tabs ( 4 spaces = 1 tab ) just to allow me and my ↵Sebastian Thiel2009-10-111-278/+278
| | | | editor to work with the files properly. Can convert it back for releaes
* Intermediate commit: commit,tree and blob objects now derive from object - ↵Sebastian Thiel2009-10-111-6/+7
| | | | 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
* Renamed lazy.py to base.py to have a file for base classes - lazy not yet ↵Sebastian Thiel2009-10-091-1/+1
| | | | changed to allow proper rename tracking
* finished cleaning usage of regular expressions - they are now precompiledSebastian Thiel2009-10-091-7/+4
|
* Commit._actor method made protected as it is only used by the Commit class ↵Sebastian Thiel2009-10-081-4/+4
| | | | and very specific so it's not suited to be part of the public API
* Merge branch 'doc_enhancements' into fixesSebastian Thiel2009-10-081-23/+58
|\
| * Improved head and tag object documentation slightlySebastian Thiel2009-10-081-2/+2
| |
| * Added missing information to docstrings of commit and stats moduleSebastian Thiel2009-10-081-21/+56
| |
* | Merge commit 'JonNordby/master' into integrationSebastian Thiel2009-10-071-0/+6
|\ \ | | | | | | | | | | | | * commit 'JonNordby/master': implemented equality operations on Commit objects
| * | implemented equality operations on Commit objectsJon Nordby2009-06-281-0/+6
| |/
* | fix some docsMartin Marcher2009-10-011-0/+1
| |
* | Don't remove blank lines in commit messagesKevin McConnell2009-09-221-1/+1
|/ | | | | | | When parsing the commit messages, preserve any blank lines that are in the message. Signed-off-by: Kevin McConnell <kevin.mcconnell@gmail.com>
* Lots of spring cleaning and added in Sphinx documentation.Michael Trier2009-01-241-1/+1
|
* fixed Commit.stats retrieval for parentless commits in bare reposMichael Trier2008-12-161-4/+4
| | | | (cherry picked from commit 88852ed7bcde4f4b18c1ae8b6fba7f3fab8e9bf5)
* Corrected conflict with pep8 changes from apollo13.Michael Trier2008-12-151-1/+1
|\
| * pep008!Florian Apolloner2008-12-151-1/+1
| |
* | Added in new properties Diff.renamed, Diff.rename_from, and Diff.rename_toMichael Trier2008-12-151-2/+2
| |
* | Make message the full message and add a summary propertyPaul Sowden2008-12-151-2/+6
| | | | | | | | | | 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)
* | add a path parameter to most commit methodsPaul Sowden2008-12-151-4/+10
| | | | | | | | | | The path parameter allows you to specify a path to constrain queries by. This changes potentially breaks backwards compatibility for the Repo.commits and Repo.commits_since methods as it moves the positional arguments. (cherry picked from commit cc8a20e78da4864060bd0c9279633009bc10d871)
* | remove ambiguity between paths and treeishsPaul Sowden2008-12-151-4/+4
|/ | | | | When calling commands that accept treeish and path arguments and there is a path with the same name as a treeish git cowardly refuses to pick one and asks for the command to use the unambiguous syntax where '--' seperates the treeish from the paths. Add '--' to the git commands to indicate that the argument is a treeish and not a path. (cherry picked from commit a9a57fa93a2b121ab9b17fcd6062b9a9c9740883)
* Replace GitPython with git in repr() outputs.Steve Frécinaux2008-09-171-5/+5
| | | | | The imported module is called git (as in "import git"), so it's less confusing to do so than to call everything GitPython.something.
* Merge branch 'master' of git://gitorious.org/git-python/nudMichael Trier2008-09-141-16/+17
|\
| * Do not use **kwargs for constructors.Steve Frécinaux2008-09-061-16/+17
| | | | | | | | | | It is better to have an explicit list of variables for the constructors, be it only to avoid mispelled arguments.
* | Merge branch 'master' of git://gitorious.org/git-python/nudFlorian Apolloner2008-09-051-7/+7
|\ \ | |/
| * Fix unneeded dict unpacking.Steve Frécinaux2008-09-051-7/+7
| |
* | commit: handle --bisect-all output in Commit.list_from_stringDavid Aguilar2008-09-021-4/+4
|/ | | | | | | | | | | | Rui Abreu Ferrerira pointed out that "git rev-list --bisect-all" returns a slightly different format which we can easily accomodate by changing the way we parse rev-list output. http://groups.google.com/group/git-python/browse_thread/thread/aed1d5c4b31d5027 This resolves the issue mentioned in that thread. Signed-off-by: David Aguilar <davvid@gmail.com>
* Added license information to all files.Michael Trier2008-07-161-0/+6
|
* fixed second problem in ↵Florian Apolloner2008-06-201-1/+3
| | | | | | http://groups.google.com/group/git-python/browse_thread/thread/b8f3580abf31f9db?hl=en# I'll look at the other one in an hour
* renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed ↵Michael Trier2008-05-301-0/+235
up tests so they pass except for stderr test. Modified version information retrieval.