/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/git/__init__.py

  • Committer: Breezy landing bot
  • Author(s): Colin Watson
  • Date: 2020-11-16 22:17:09 UTC
  • mfrom: (7521.2.1 fix-loggerhead-git-option)
  • Revision ID: breezy.the.bot@gmail.com-20201116221709-mfzjbxeohp1ijr6n
Fix handling of git.http option.

Merged from https://code.launchpad.net/~cjwatson/brz/fix-loggerhead-git-option/+merge/393708

Show diffs side-by-side

added added

removed removed

Lines of Context:
420
420
def loggerhead_git_hook(branch_app, environ):
421
421
    branch = branch_app.branch
422
422
    config_stack = branch.get_config_stack()
423
 
    if config_stack.get('http_git'):
 
423
    if not config_stack.get('git.http'):
424
424
        return None
425
425
    from .server import git_http_hook
426
426
    return git_http_hook(branch, environ['REQUEST_METHOD'],