diff options
Diffstat (limited to 'git-codereview/hook.go')
| -rw-r--r-- | git-codereview/hook.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/git-codereview/hook.go b/git-codereview/hook.go index 09bed8b..1913666 100644 --- a/git-codereview/hook.go +++ b/git-codereview/hook.go @@ -279,14 +279,6 @@ func hookPreCommit(args []string) { } */ - // Prevent commits to master branches, but only if we're here for code review. - if haveGerrit() { - b := CurrentBranch() - if !b.IsLocalOnly() && b.Name != "HEAD" { - dief("cannot commit on %s branch", b.Name) - } - } - hookGofmt() } |
