Skip to content

Parse file-directory errors from update-ref

Sami Hiltunen requested to merge smh-update-ref-file-directory-errors into master

Git's loose reference storage may encounter file-directory conflicts when a reference like 'refs/heads/parent' exists and a tranasction attempts to create 'refs/heads/parent/child'. Gitaly's update-ref wrapper currently doesn't parse these errors and simply returns a generic error. This commit parses out these errors so they can be handle in calling code in a better manner.

Merge request reports