No hooks are triggered when user creates Git branch via Stash UI

XMLWordPrintable

      This bug was reported in SubGit issue tracker: SG-72.

      When Git-SVN mirror is enabled for a Git repository via SVN Mirror Add-on, user is not able to create new Git branches via Stash UI.

      When Stash creates a new Git branch, it doesn't trigger pre-receive hook and doesn't raise any events. As result SubGit plugin has no information on performed action. Next time the plugin synchronizes Git repository with Subversion server, it deletes Git branch since its SVN counterpart is missing in the latest revision.

      As a workaround Stash user has to create a branch in his local repository and then push that branch back to Stash:

      git push <origin> <branch>
      

      We would appreciate if Stash could somehow notify our plugin on new branch creation when user adds a branch via Stash UI.

      Thank you in advance,
      Semyon

            Assignee:
            Unassigned
            Reporter:
            Semyon Vadishev
            Votes:
            7 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: