diff --git a/lib/veksel/suffix.rb b/lib/veksel/suffix.rb index d7e4b7b..b8e54ab 100644 --- a/lib/veksel/suffix.rb +++ b/lib/veksel/suffix.rb @@ -1,6 +1,6 @@ module Veksel class Suffix - PROTECTED_BRANCHES = %w[master main].freeze + PROTECTED_BRANCHES = %w[master main HEAD].freeze def initialize(branch_name) @branch_name = String(branch_name) @@ -8,7 +8,6 @@ def initialize(branch_name) def to_s case @branch_name - when 'HEAD' when *PROTECTED_BRANCHES "" else