diff options
Diffstat (limited to 'config/branch.go')
-rw-r--r-- | config/branch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/branch.go b/config/branch.go index 652270a..db2cb49 100644 --- a/config/branch.go +++ b/config/branch.go @@ -54,7 +54,7 @@ func (b *Branch) Validate() error { return errBranchInvalidRebase } - return nil + return plumbing.NewBranchReferenceName(b.Name).Validate() } func (b *Branch) marshal() *format.Subsection { |