From ad981dedbeaccd3d8f16a3d52ec01d18e3282d1a Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 4 Feb 2024 22:23:52 -0600 Subject: [PATCH] branches2.cpp --- src/branches2.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/branches2.cpp b/src/branches2.cpp index ce67181c..e6093208 100644 --- a/src/branches2.cpp +++ b/src/branches2.cpp @@ -32,8 +32,9 @@ Branches2::clonepath(ghc::filesystem::path basepath_, if(branch.path == basepath_) continue; rv = fs::clonepath(branch.path,basepath_,relpath_); - if(rv == 0) - return 0; + if(rv < 0) + continue; + return 0; } }