Method: Git::Lib#unexpected_branch_line_error

Defined in:
lib/git/lib.rb

#unexpected_branch_line_error(lines, line, index) (private)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
# File 'lib/git/lib.rb', line 1846

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