Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd: better support for bare repositories | David Aguilar | 2008-06-15 | 1 | -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 cases | David Aguilar | 2008-06-12 | 1 | -1/+6 |
| | | | | Signed-off-by: David Aguilar <davvid@gmail.com> | ||||
* | Determine git_dir and git_work_tree in python. | Govind Salinas | 2008-06-12 | 1 | -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 Apolloner | 2008-06-11 | 1 | -2/+2 |
| | |||||
* | removed to much :þ | Florian Apolloner | 2008-06-11 | 1 | -0/+4 |
| | |||||
* | fixed init_bare | Florian Apolloner | 2008-06-11 | 1 | -10/+1 |
| | |||||
* | renamed gitter to cmd since that makes more sense. Fixed up changes doc. | Michael Trier | 2008-05-31 | 1 | -1/+1 |
| | |||||
* | renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed ↵ | Michael Trier | 2008-05-30 | 1 | -0/+435 |
up tests so they pass except for stderr test. Modified version information retrieval. |