public string FormatPatch(string from, string to, string output) { output = output.ToPosixPath(); var result = RunGitCmd("format-patch -M -C -B \"" + from + "\"..\"" + to + "\" -o \"" + output + "\""); return result; }