diff --git a/src/cmd_sync.rs b/src/cmd_sync.rs index 377d116..4b92d72 100644 --- a/src/cmd_sync.rs +++ b/src/cmd_sync.rs @@ -211,14 +211,14 @@ fn pull( merge_analysis )); } - ma if ma.is_normal() => { - error!("unable to fast-forward. manual merge is required"); - return Err(anyhow!("unable to fast-forward. manual merge is required")); - } ma if ma.is_none() => { error!("no merge is possible"); return Err(anyhow!("no merge is possible")); } + ma if ma.is_normal() => { + error!("unable to fast-forward. manual merge is required"); + return Err(anyhow!("unable to fast-forward. manual merge is required")); + } _ma => { error!( "this code must not reachable: merge_analysis {:?}",