• Stan Hu's avatar
    Fix duplicated branch creation/deletion events when using Web UI · 423d2d62
    Stan Hu authored
    When deleting a branch, this is what was happening:
    
    1. DeleteBranchService calls EventCreateService and creates an event.
    2. The call to repository.rm_branch triggers the GitHooksService.
    3. This, in turn, calls GitPushService and then calls EventCreateService again.
    
    5145706c now makes it no longer necessary for DeleteBranchService and CreateBranchService to create an event.
    
    Closes #4304
    423d2d62
To find the state of this project's repository at the time of any of these versions, check out the tags.