| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
The smart-http interface starts http-backend which calls receive-pack.
Unfortunately we were performing the dangling-HEAD check
after calling receive-pack ourselves,
so when using smart-http we weren't performing the check.
By moving this into the post-receive hook
the check can be performed in smart-http too.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This adds POST_RECEIVE properly as a hook. We move the current behaviour into
hook functions, separating out core updates from the Supple hook run, to permit
plugins to interpose behaviour.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Gitano's executables, in addition to being required for operation,
are intended to be examples of how to use the gitano library,
so rather than importing with require "gitano.patterns",
gitano should be imported and use gitano.patterns.
No changes to imports are made inside lib/gitano/
because this would cause an import loop.
|
|/
|
|
|
|
|
| |
This has moved every pattern that wasn't obviously just for string manipulation
and has in the process of doing so reworked some logic
so that fewer distinct patterns are used,
and the repository path normalisation has been unified.
|
| |
|
|
|
|
|
|
| |
This is a massive unpleasant commit which does whitespace cleanup
and fixes indentation (including untabifying). Hopefully we won't
need to do this ever again, if we keep an eye on commits.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Vanush "Misha" Paturyan <misha@cs.nuim.ie>
|
|
|
|
|
|
|
|
|
|
| |
Each `.in` file needs to load plugins in order to ensure that all requisite
functionality is available at all points during the lifetime of a Gitano
operation.
This is a largely mechanical delta.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
| |
|
|
|
|
|
|
| |
Previously, oldsha could end up with a leading newline for all but the first
ref altered during a push. This fix corrects that so that oldsha doesn't get
newlines in it.
|
| |
|
| |
|
|
|
|
| |
containing info about the user
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|