| Commit message (Collapse) | Author | Age |
|
|
|
| |
do test the the content functions already, or they interact with the system too much to test for coverage automatically.
|
| |
|
|
|
|
|
|
|
| |
It changes the current directory, so it can't set --git-dir to a
(potentially) relative path. Make path absolute before using it.
This should fix post-update hook problems.
|
|
|
|
|
|
|
|
|
|
| |
Creation is in gitosis.serve and not directly in repository.init(),
because that's the location that can tell what part of the directory
tree is allowed to be missing. Made the reconstructed git command
include the extension as that was easier to do.
haveAccess return value is now tuple, to preserve information on what
parts of the path can be missing.
|
|
|
|
|
|
|
|
|
| |
gitosis-init and the post-update hook used to fail with
GitCheckoutIndexError, when run with git >=1.5.3, which made
checkout-index require GIT_WORK_TREE, jump through hoops to provide
it, but still be backwards compatible with older git.
Thanks to Garry Dolley for hunting the bug.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The repository autocreation functionality ends up sending the
stdout to the client side, and there a very confused git push
can't make any sense of the protocol.
|
| |
|
|
|
|
| |
Redo subprocess error handling.
|
| |
|
|
|