summaryrefslogtreecommitdiff
path: root/lib/git/repo.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git@gitorious.org:git-python/mainlineFlorian Apolloner2008-08-211-1/+1
|\
| * fixed it so init actually creates a bare repo. Thank you Daniel Watkins.Michael Trier2008-08-181-1/+1
| |
* | fixed unneeded list unpackingFlorian Apolloner2008-08-211-3/+3
|/
* Fix use of bare repositories.Jelmer Vernooij2008-07-281-1/+2
| | | | (cherry picked from commit 80f8a18a69e307f6ea0bfeb14791fc75e239faa2)
* Added license information to all files.Michael Trier2008-07-161-0/+6
|
* fixed ↵Florian Apolloner2008-06-251-27/+29
| | | | http://groups.google.com/group/git-python/browse_thread/thread/b8f3580abf31f9db?hl=en# and passed Git a working_tree again (sort of).
* added os.path.expanduser to the repo initializationFlorian Apolloner2008-06-211-0/+1
|
* cmd: better support for bare repositoriesDavid Aguilar2008-06-151-1/+1
| | | | | | | | | | | | | | | | | | In order to avoid the expense of parsing .git/config just to know whether or not a repository is bare at __init__ time, we just pass an optional flag to Git.__init__(): bare_repo with a default value of False. Repo.init_bare() was updated to pass this flag. We could have an optional Git.read_bare_status() function that does the expensive lookup. Then, users can optionally call it at runtime if they really need to know whether or not a repository is bare. That seems like a decent tradeoff between speed, correctness, and common use cases. Signed-off-by: David Aguilar <davvid@gmail.com>
* repo: these changes make Govind's latest changes pass the test casesDavid Aguilar2008-06-121-1/+6
| | | | Signed-off-by: David Aguilar <davvid@gmail.com>
* Determine git_dir and git_work_tree in python.Govind Salinas2008-06-121-6/+6
| | | | | | | | Calling git to find the git_dir and work_tree is very costly. This patch uses the same mechanisim to find the git_dir as native git does without shelling out. Signed-off-by: Govind Salinas <blix@sophiasuchtig.com>
* stupid typo *grr*Florian Apolloner2008-06-111-2/+2
|
* removed to much :þFlorian Apolloner2008-06-111-0/+4
|
* fixed init_bareFlorian Apolloner2008-06-111-10/+1
|
* renamed gitter to cmd since that makes more sense. Fixed up changes doc.Michael Trier2008-05-311-1/+1
|
* renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed ↵Michael Trier2008-05-301-0/+435
up tests so they pass except for stderr test. Modified version information retrieval.