Merge branch 'stable-2.14' into stable-2.15

* stable-2.14:
  ForcePushIT: Add tests for deleting branch by push
  PushOneCommit: Add assertions against null ref update result
  For deleting a branch, the "Delete Reference" permission is sufficient.

Change-Id: Ic13c689e2c08944552830edd965e0d16ea903497
This commit is contained in:
David Pursehouse
2017-10-20 15:36:29 +09:00
5 changed files with 55 additions and 3 deletions

View File

@@ -577,7 +577,7 @@ safest mode as commits cannot be discarded.
* Force option
+
Allows an existing branch to be deleted. Since a force push is
Implies <<category_delete,Delete Reference>>. Since a force push is
effectively a delete immediately followed by a create, but performed
atomically on the server and logged, this option also permits forced
push updates to branches. Enabling this option allows existing commits