Commit d7c66219 authored by Nick Thomas's avatar Nick Thomas 💃

Add an RPC to apply a BFG object map to a repository

parent f0d09aed
syntax = "proto3";
package gitaly;
import "shared.proto";
service CleanupService {
rpc ApplyBfgObjectMap(stream ApplyBfgObjectMapRequest) returns (ApplyBfgObjectMapResponse) {}
}
message ApplyBfgObjectMapRequest {
Repository repository = 1;
// A raw object-map file as generated by BFG: https://rtyley.github.io/bfg-repo-cleaner
// Each line in the file has two object SHAs, space-separated - the original
// SHA of the object, and the SHA after BFG has rewritten the object.
bytes object_map = 2;
}
message ApplyBfgObjectMapResponse {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment