app/models/repository.rb
def after_create_branch
    expire_branches_cache
    expire_has_visible_content_cache
    expire_branch_count_cache
  end
# Runs code after a new branch has been created.
Runs code after a new branch has been created.
Runs code after a new branch has been created .
def after_create_branch
    expire_branches_cache
    expire_has_visible_content_cache
    expire_branch_count_cache
  end
def after_create_branch expire_branches_cache expire_has_visible_content_cache expire_branch_count_cache end
Runs code after a new branch has been created.
Runs code after a new branch has been created .