remove empty else branch

This commit is contained in:
Josh Junon 2024-05-06 19:46:58 +02:00
parent 58f866d588
commit dffca846c4
No known key found for this signature in database

View File

@ -2272,9 +2272,6 @@ pub fn write_tree_onto_tree(
} else if base_tree.get_path(rel_path).is_ok() {
// remove file from index if it exists in the base tree
builder.remove(rel_path);
} else {
// file not in index or base tree, do nothing
// this is the
}
}