MCPcopy Create free account
hub / github.com/dashed/git-chain / merge_conflict

Method merge_conflict

src/error.rs:16–23  ·  view source on GitHub ↗
(branch: String, upstream: String, message: Option<String>)

Source from the content-addressed store, hash-verified

14 }
15
16 fn merge_conflict(branch: String, upstream: String, message: Option<String>) -> Self {
17 let mut error_msg = format!("Merge conflict between {} and {}", upstream, branch);
18 if let Some(details) = message {
19 error_msg.push('\n');
20 error_msg.push_str(&details);
21 }
22 Error::from_str(&error_msg)
23 }
24
25 fn git_command_failed(command: String, status: i32, stdout: String, stderr: String) -> Self {
26 let error_msg = format!(

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected