From 09c67d49085a436e61bf3fc2fcfa1bb66683f46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Wed, 24 Nov 2021 21:15:11 +0100 Subject: [PATCH] Remove wrong error message about remote branch --- src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index efa5edc..d3a5cb2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -949,10 +949,6 @@ pub fn run() { .set_upstream(Some(&upstream_branch_name)) .unwrap(); } else { - print_error(&format!( - "Remote branch {} not found", - &upstream_branch_name - )); let split_at = upstream_branch_name.find('/').unwrap_or(0); if split_at == 0 || split_at >= upstream_branch_name.len() - 1 { print_error("Tracking branch needs to match the pattern /");