Git.Or_errorHelpers to wrap process outputs.
val exit_code :
Volgo__.Git.Output.t ->
accept:(int * 'a) list ->
('a, Base.Error.t) Stdlib.Result.tA convenient wrapper to write exhaustive match on a result conditioned by a list of accepted exit codes. If the exit code is not part of the accepted list, the function takes care of returning an error of the expected result type.