Don't execute git hooks if you create branch as part of other change
All threads resolved!
All threads resolved!
Compare changes
Files
11+ 72
− 26
@@ -786,8 +786,12 @@ def root_ref
@@ -802,8 +806,12 @@ def commit_dir(user, path, message, branch, author_email: nil, author_name: nil)
@@ -823,8 +831,13 @@ def commit_file(user, path, content, message, branch, update, author_email: nil,
@@ -849,8 +862,12 @@ def update_file(user, path, content, branch:, previous_path:, message:, author_e
@@ -868,17 +885,18 @@ def remove_file(user, path, message, branch, author_email: nil, author_name: nil
@@ -967,7 +985,10 @@ def revert(user, commit, base_branch, revert_tree_id = nil)
@@ -984,7 +1005,10 @@ def cherry_pick(user, commit, base_branch, cherry_pick_tree_id = nil)
@@ -1082,11 +1106,11 @@ def create_ref(ref, ref_path)
@@ -1096,7 +1120,7 @@ def update_branch_with_hooks(current_user, branch)
@@ -1105,11 +1129,9 @@ def update_branch_with_hooks(current_user, branch)
@@ -1169,4 +1191,28 @@ def keep_around_ref_name(sha)