base: Don't treat "Base unchanged" as an error

Josh Triplett created

Notify the user but return successfully, so that it won't cause a rebase
to fail.

Change summary

src/main.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Detailed changes

src/main.rs 🔗

@@ -473,7 +473,8 @@ fn base(repo: &Repository, m: &ArgMatches) -> Result<()> {
     };
 
     if current_base_id == new_base_id {
-        return Err("Base unchanged".into());
+        println!("Base unchanged");
+        return Ok(());
     }
 
     if !current_base_id.is_zero() {