Method: Git::Lib#unexpected_branch_line_error

Defined in:
lib/git/lib.rb

#unexpected_branch_line_error(lines, line, index)



662
663
664
665
666
667
668
669
670
671
672
# File 'lib/git/lib.rb', line 662

def unexpected_branch_line_error(lines, line, index)
  <<~ERROR
    Unexpected line in output from `git branch -a`, line #{index + 1}

    Full output:
      #{lines.join("\n  ")}

    Line #{index + 1}:
      "#{line}"
  ERROR
end