• Avielle Wolfe's avatar
    Fix error from invalid sha for `include` files · 32fe7986
    Avielle Wolfe authored
    `External::File::Local` uses the sha from the context when fetching
    local include files. If that sha is not valid, an exception is raised by
    Gitaly.
    
    This commit fixes that error by catching the Gitaly exception and
    returning an appropriate error.
    
    Changelog: fixed
    32fe7986
local_spec.rb 4.63 KB