Skip to content

Improve git list_refs() with better error message and more robust parsing #2

Open
@tuemlix

Description

@tuemlix

Generic_git.list_refs() could generate better error messages.

  • Include invalid line in error message
  • Improve regexp, match begin of line, maybe match length of hex string? Needs testing iirc the output of ls-remote and show-ref wasn't identical.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions